You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tags used by the line-highlight plugin are appended to the <code>
tag. This causes problems with the autoloader plugin, because the
tags contain whitespace and therefore change the content of the <code>
tag.
This patch fixes the issue #1101, by removing any line-highlight tags
with the `before-sanity-check` hook.
Thank you for reporting this. It should be fixed now 79b723d
The problem was, that line-highlight appends a few tags to the <code> tag. These tags contain whitespace, which is later picked up by the autoloader plugin with the textContent property and interpreted as normal source code.
There seems to be some sort of compatibility issue between Autoloader and Line Highlight. Here's what my code looked like before using Autoloader:
Here's what it looks like when using it:
No extra space is added when I don't use Line highlight:
I took a look at the HTML after the Prism pass and it looks like extra whitespace is being added for no clear reason (i.e. this is not a CSS issue).
Thank you for your time.
The text was updated successfully, but these errors were encountered: