-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Raw text outside tags causes broken HTML to be rendered #13
Comments
Just tested the hotfix and it fixed the tag issue. I wonder if there is a need to document that specific case BTW, where the script works 2 times (adding 2 heading anchors) when called by 2 layouts used in different pages, where 1 inherits the other. |
🎉
Documenting this behavior wouldn't hurt; e01729a. As for adding support for nesting, I think it would be limited; I could check to see if there's already an anchor in the heading and skip adding a new one if there is. I'm just curious to know if there's a use case for this behavior where this script would legitimately be used twice. |
That is what happens in the |
Does using the script only in the default layout not suffice? I thought a child layout's content would be passed up to its parent and if its parent is in charge of the anchors, then it'd work. If that's not the case, I can add the check. |
You are right, it seems I was confused by the other issue and I haven't tried the obvious logic. |
Updated, thank you for your help! |
Sure thing! Thanks a lot for bringing this issue to my attention 👍 |
My
MarkdownHTMLSnippet Usage
Expected HTML
Actual HTML
Notes
Reported by the @sfzformat team
The text was updated successfully, but these errors were encountered: