parsedown icon indicating copy to clipboard operation
parsedown copied to clipboard

Bad render header/tags

Open Zavy86 opened this issue 3 years ago • 3 comments

Hi, there is probably a bug in rendering the tags instead of the headers.

Header 1 is a # followed by a space. When #diary is rendered as a header and should not.

150785042-63fe625a-66ca-47f0-85a0-188651a5b551

150785119-073638b4-1799-47e1-92e3-f5b23d69f2e3

Zavy86 avatar Jan 24 '22 16:01 Zavy86

Ref: https://github.com/Zavy86/WikiDocs/issues/27

Zavy86 avatar Jan 24 '22 16:01 Zavy86

There is $parsedown->setStrictMode(true), which will turn off accommodations like this that aren't in spec (this is the only one at present).

aidantwoods avatar Feb 11 '22 22:02 aidantwoods

Hi, in version 1.7.4 is not present this method. Will it be available in the next release?

Zavy86 avatar Feb 16 '22 14:02 Zavy86