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

Correct possible invalid specified attributes #224

Open
raducoravu opened this issue May 13, 2024 · 0 comments
Open

Correct possible invalid specified attributes #224

raducoravu opened this issue May 13, 2024 · 0 comments

Comments

@raducoravu
Copy link
Collaborator

One of our end users had this Markdown table:

# XTRT
| Column 1 | Column 2 |
| --- | --- |
| Value 1 | Value 2 |
| Value 3 | Value 4 |
{: #table-id }

Notice that the user did not properly specify the attributes after the table:

  {: #table-id }

This ends up creating in com.elovirta.dita.markdown.renderer.AbstractRenderer.readAttributes(Title, AttributesBuilder) an attribute with name ":" and empty value and generates a not wellformed XML document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant