Skip to content

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Feb 16, 2025

Description

Generators/HTML::getFormattedHeader(): minor simplification

Use a single call to sprintf() instead of lots of string concatenation.

Generators/HTML::getFormattedFooter(): minor simplification

Use a single call to sprintf() instead of lots of string concatenation.

Generators/HTML::getFormattedToc(): minor simplification

Use sprintf() on a template string.

Suggested changelog entry

N/A

Related issues/external references

This PR is part of a series of PRs which will add a complete set of tests (and improvements) for the Generator feature.

Also see: #671 and other PR with the Core Component: Generators label.

Use a single call to `sprintf()` instead of lots of string concatenation.
Use a single call to `sprintf()` instead of lots of string concatenation.
Use `sprintf()` on a template string.
@jrfnl jrfnl merged commit 2fa51a5 into master Feb 19, 2025
59 checks passed
@jrfnl jrfnl deleted the feature/generator-html-various-simplifications branch February 19, 2025 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants