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

Support topics without a title #156

Closed
jelovirt opened this issue Apr 23, 2023 · 0 comments · Fixed by #223
Closed

Support topics without a title #156

jelovirt opened this issue Apr 23, 2023 · 0 comments · Fixed by #223

Comments

@jelovirt
Copy link
Owner

jelovirt commented Apr 23, 2023

DITA topics must have a title, but there should be error recovery to handle Markdown files that don't have a top level heading.

While DITA topic requires a <title> element, the DTD doesn't require that there's anything inside the <title> element.

<topic id="topic_hrh_j2z_3bc">
    <title></title>
</topic>

is a valid DITA topic. This feature could be implemented by just leaving the <title> empty and throw a warning about empty title.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant