-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Links aren't properly rendered when preceded by quoted text #8525
Comments
…oted text 2 or more returns inside a quoted text were not handled properly, added a repeat count.
I've just pushed a proposed patch, pull request #8527 |
issue #8525 Links aren't properly rendered when preceded by quoted text
Code has been integrated in master on github (please don't close the issue as this will be done at the moment of an official release). |
This issue was previously marked 'fixed but not released', |
Yes, this seems to be fixed in version 1.9.2, at least for the HTML docs. (I had trouble building the LaTeX PDF—probably due to a problem with my LaTeX installation and not anything in this release.) I used Doxygen version 1.9.2 on a Mac (macOS 10.15.7); it was installed from the DMG file. |
When having something like: ~~~ Title aa "Pre\"B\"Post" ``` "G" ``` ~~~ we get the warning: ``` aa.md:7: warning: unexpected command endcode ``` this looks like to be introduced in version 1.9.2 and a regression regarding: ``` Commit: 2683d17 [2683d17] Date: Friday, April 30, 2021 12:26:12 PM issue doxygen#8525 Links aren't properly rendered when preceded by quoted text 2 or more returns inside a quoted text were not handled properly, added a repeat count. ``` Note that the output originally was not ok either (missing some backslashes). Note checked doxygen#8525 again as well, looks OK.
Describe the bug
When some double-quoted text that extends over three or more lines is immediately followed by a link, the link isn't rendered properly.
Expected behavior
A link of the form
[link text](linkurl.com)
should generate HTML of the form<a href="linkurl.com">link text</a>
. Instead I am seeing<a href="linkurl.com">link text
, that is, the opening HTML tag delimiters are escaped, and the closing tag is missing.To Reproduce
Make a Doxyfile with this content:
and a source file
my_function.cpp
in the same directory with this content:Run
doxygen
in the directory containing these files and open the generated HTML file (my__function_8cpp.html
on my system).The portion of the generated HTML corresponding to the references looks like this:
The generated PDF file suffers from similar problems.
Version
I used Doxygen version 1.9.1 on a Mac (macOS 10.14.6); it was installed from the DMG file.
The text was updated successfully, but these errors were encountered: