Skip to content

HTML comment affects output #10955

@MarkCallow

Description

@MarkCallow

Describe the bug
An HTML comment in a Doxygen comment affects both HTML and Man output. Extra space is added in HTML output while indentation is affected in Man output.

Screenshots
HTML output without HTML comment
Screenshot 2024-06-22 at 16 24 29

HTML output with HTML comment. Note the extra space (blank line)
Screenshot 2024-06-22 at 16 24 44

Man output without HTML comment
Screenshot 2024-06-22 at 16 28 26

Man output with HTML comment. Note the incorrect indent of the last paragraph which is next after the comment.
Screenshot 2024-06-22 at 16 28 37

To Reproduce
Use html-comment-affects-output.tar.gz

Expected behavior
I expected identical output with and without the embedded HTML comment.

Version
I'm using v1.11.0 on macOS Sonoma, the DMG downloaded from doxygen.nl. The issue is not new to 1.11.0. It has been around for a while.

Stack trace
n/a

Additional context
n/a

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions