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
I believe because empty-line comes beforehr in the list of transformers? The h1? and h2? heading checks, present in empty-line, register true for = and - HRs. Or something else...
Would it be as simple as adding hr to the conditions of empty-linehere? Or should checks be rewritten, transformers reordered etc. Thanks!
The text was updated successfully, but these errors were encountered:
kees-
changed the title
HR lines written with consecutive - characters are superseded by the empty-line transformer
HR lines written with consecutive - characters are superseded by empty headings
Jan 3, 2023
That sounds like it might be an issue. Would need a bit of experimentation to make sure though. If adding a check for hr in the empty-line handler doesn't break existing tests then I think that would be fine to make the change. It's probably the easiest fix.
Using 1.11.4
I would PR but I'm not sure the exact cause.
Behavior
This markup:
that presumably should be output as
is instead transformed to:
I believe because
empty-line
comes beforehr
in the list of transformers? Theh1?
andh2?
heading checks, present inempty-line
, register true for=
and-
HRs. Or something else...Would it be as simple as adding
hr
to the conditions ofempty-line
here? Or should checks be rewritten, transformers reordered etc. Thanks!The text was updated successfully, but these errors were encountered: