Skip to content

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Nov 23, 2024

Description

As things were, line breaks in a <standard> block were not respected for proper display in HTML.

This has now been fixed by:

  • Recognizing a blank line after a text line as an indicator that the next line should be a new paragraph.
  • In all other cases, a line break will be translated to an HTML line break.

Includes updated test expectations.

Before

image
image

After

image

image

Suggested changelog entry

  • Generators/HTML: line breaks in <standard> blocks will now be respected when generating the HTML documentation.

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 #717.

As things were, line breaks in a `<standard>` block were not respected for proper display in HTML. This has now been fixed by: * Recognizing a blank line after a text line as an indicator that the next line should be a new paragraph. * In all other cases, a line break will be translated to an HTML line break. Includes updated test expectations.
@jrfnl jrfnl added this to the 3.11.2 milestone Nov 23, 2024
@jrfnl jrfnl merged commit becac94 into master Nov 27, 2024
72 checks passed
@jrfnl jrfnl deleted the feature/generators-html-fix-line-break-handling branch November 27, 2024 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment