Smarty extension causes generation of invalid HTML syntax · Issue #1131 · Python-Markdown/markdown (original) (raw)
This works as expected:
$ echo '' | python3 -m markdown -x smarty
but this unexpectedly generates invalid HTML syntax:
$ echo '' | python3 -m markdown -x smarty
I would expect the second output to be the same as the first. Backslash should suppress special interpretation by Markdown; it should not also induce special interpretation by HTML.