-
Notifications
You must be signed in to change notification settings - Fork 12
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
Page Toc changes HTML rendering of horizontal rule #30
Comments
Did some digging... The issue has been introduced in v3.0.0 when HTML5 library is being replaced by PHP DOMDocument class. When saving a DOMDocument into HTML, the In the following code line,
I'll add a note to the recipe in the docs. |
Thank you! Should the rendering of the markdown |
The rendering of Markdown happens by Grav's external library Parsedown, which tries to be CommonMark Spec compliant. According to CommonMark, Thematic Breaks should be rendered as It is the PHP DOMDocument library, used by Page Toc, that converts I don't think CommonMark is going to change its specs, neither the Markdown parser being used... So, when using the recipe you are referring to, filter |
I installed this plugin and found that my implementation of multiple columns (based on this recipe) stopped working. After some digging, I discovered the reason for this is that this plugin changes the HTML rendering of the markdown
---
from<hr />
to<hr>
. Is there a reason for this change? Can it be documented somewhere?The text was updated successfully, but these errors were encountered: