Open kees- opened 1 year ago
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!