Skip to content

"^^" in aliases not proper evaluated #11310

@thom-sch

Description

@thom-sch

In Version 1.13.0 the behavior of "^^" in ALIASES is not properly evaluated:

In my project I've an alias like

ALIASES = "INCEXAMPLE{1} = <div style=\"margin-left:50px;\"> ^^ \par \1 ^^ \snippet{doc} example.md \1 ^^ </div>"

which includes an example from another file with indentation.

This produces several warnings:

  • warning: Found unknown command '@ilinebr'
  • warning: end of comment block while expecting command (Probable start 'C:/Daten/Doxygen/Issues/Test24_ilinebrk/mainpage.md' at line 4)

and (of course) weird output.

Seems that Doxygen treats all the text after the filename "example.md" as blockmarker instead only upto "^^".
see attached zip-file

This behavior is not restricted to snippet command but also appears in other commands I used in several aliases like:

  • ALIASES = "CONDSECTION{1} = \if condition ^^ \section \1 \1 ^^ \endif"
  • ALIASES = "INCSNIPPET{3} = \dontinclude{lineno} \1 \skipline \2 ^^ \until \3"

Additionally in doxywizard displaying those aliases are wrongly formatted - s. Screenshot in zip-file.
This only behaves on "Show configuration", the doxyfile itself is written correctly,
and also behaves to all older versions (tested back upto Doxygen version 1.8!
--> Maybe this should be an extra issue?

Test24_ilinebrk.zip

Regards from Meerbusch
Thomas

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions