parsedown icon indicating copy to clipboard operation
parsedown copied to clipboard

Xhtml disabler

Open naNuke opened this issue 11 years ago • 4 comments

Switch between xhtml tag closers /> to >

This is pretty much open to discussion, I use it in my project and it works perfect so far :)

naNuke avatar Oct 10 '14 19:10 naNuke

Ideally I would prefer an opinionated parser which would produce HTML only, but since Parsedown produces XHTML at the moment, this could be a good move keeping backwards compatibility.

hkdobrev avatar Oct 10 '14 19:10 hkdobrev

Xhtml is practically dead on modern web nowdays but since parsedown supports dinosaur version of php like 5.2, some people might actually expect to use xhtml, which is fine imo. The switch code doean't add anything that would break parsedown's awesome performance.

naNuke avatar Oct 10 '14 20:10 naNuke

I'll have to think about this.

erusev avatar Oct 11 '14 20:10 erusev

@aidantwoods please add this or best replace closer tag /> with >. Know that XHTML isn't no longer supported in HTML5 by spec.

laukstein avatar Apr 29 '19 20:04 laukstein