Browse Source
Now that the recognition requirements for atx-style headers have been tightened a bit, process them ahead of setext-style headers to avoid having a horizontal rule immediately after one of the atx-style headers being grabbed as a setext-style header. Previously this: ##### My H5 --- Would end up as a single `<h2>##### My H5</h2>`. Now it will more correctly become `<h5>My H5</h5><hr />` instead. This has been a longstanding problem that goes at least as far back as version 1.0.1 and probably further. Signed-off-by: Kyle J. McKay <mackyle@gmail.com>master
Kyle J. McKay
5 years ago
1 changed files with 24 additions and 25 deletions
Loading…
Reference in new issue