-
-
Notifications
You must be signed in to change notification settings - Fork 258
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
SuperFences produces different/"invalid" HTML after 10.11 #2471
Comments
This was not an explicitly tested case, so that is most likely why this regression occurred. It is perfectly reasonable for this to be expected to work though. Most likely, the language is now getting parsed from We adjusted the header but also cleaned up the regex to be a bit more precise with the reworked logic. Where before we incidentally allowed an omitted language, now we must explicitly expect it and define it such that it won't be confused with attributes or options: |
It ends up being slightly more complicated pattern update as we have to account for names with non-word chars, so a simple check of |
The fix has been released. Thanks for the report! |
Description
SuperFences started producing "invalid" HTML after 10.11.
It happens for code blocks without language that use
hl_lines
, e.g.:I am aware that it got changed in that version but it breaks the code that is working fine in 10.10.2.
Minimal Reproduction
Version(s) & System Info
pymdown-extensions-10.11
The text was updated successfully, but these errors were encountered: