Describe the bug
I have the following alias in my doxygen.cfg:
ALIASES += highlight_green{1}="<div style='border: 2px solid green; background-color: #FFFFEE; margin: 10px 0px 20px 0px; padding: 10px;'>\1</div>"
Generally it works nicely on markdown pages, so I can i.e. write:
@highlight_green{Here is a relevant aspect!}
However I'd like to also put lists inside the alias, like this:
@highlight_green{
- Consider this aspect: A
- Also consider the other aspect: B
}
When I do that, the resulting page shows all text following the highlight also with the same highlight!
Expected behavior
Only the list inside the alias should be rendered with the alias formatting.
Screenshots
Here is the screenshot of the problem:

To Reproduce
Here is the full example: doxygen-issue-10504.zip
Version
1.9.8 (c2fe5c3) installed from the official website, running on Ubuntu 22.04 x86_64.