]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Markdown: don't escape content + sanitize sensible tags 491/head
authorArthurHoaro <arthur@hoa.ro>
Fri, 19 Feb 2016 18:37:13 +0000 (19:37 +0100)
committerArthurHoaro <arthur@hoa.ro>
Fri, 19 Feb 2016 18:37:13 +0000 (19:37 +0100)
commit2925687e1e86dc113116330efd547b9db5c0f1a6
tree706706ddfc9472e51494db912f9bee03972ce93f
parentbfec695df1205864b46ca7175e1598b184602687
Markdown: don't escape content + sanitize sensible tags

Instead of trying to fix broken content for Markdown parsing, parse it unescaped, then sanatize sensible tags such as scripts, etc.
application/Utils.php
plugins/markdown/markdown.php
tests/plugins/PluginMarkdownTest.php