Skip to content
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

Error parsing <a> tags with href attributes in subsequent lines #752

Open
anarthal opened this issue Dec 2, 2024 · 0 comments
Open

Error parsing <a> tags with href attributes in subsequent lines #752

anarthal opened this issue Dec 2, 2024 · 0 comments

Comments

@anarthal
Copy link

anarthal commented Dec 2, 2024

/**
 * \details This is a broken <a
 *      href="https://example.com">link</a>
 */
struct other
{
};

(Tested with MrDocs develop).

This is valid Doxygen, but causes an error with MrDocs:


An issue occurred during execution.
If you believe this is a bug, please report it at https://github.com/cppalliance/mrdocs/issues
with the following details:
    MrDocs Version: 0.0.2 (Build: )
    Reported From: `src/lib/AST/ParseJavadoc.cpp` at line 571

Extracted 4 declarations in 3ms

Removing the extra newline fixes the issue. This can be problematic because clang-format tends to introduce patterns like the above.

@alandefreitas alandefreitas moved this to Accepted in MrDocs Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Accepted
Development

No branches or pull requests

1 participant