]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Fix hashtags with markdown escape enabled 1212/head
authorArthurHoaro <arthur@hoa.ro>
Tue, 14 Aug 2018 10:26:51 +0000 (12:26 +0200)
committerArthurHoaro <arthur@hoa.ro>
Tue, 14 Aug 2018 10:26:51 +0000 (12:26 +0200)
commitcb7940e2deacba66f2510816732be654b255cc70
tree0f0e99a25f99e88204c5962b4bdd2f15a2b5041c
parentf28b73b21f705102f8536cd16ea28122aa870e49
Fix hashtags with markdown escape enabled

They're now transformed to markdown syntax links before processing them through Parsedown.

Fixes #1210
plugins/markdown/markdown.php
tests/plugins/PluginMarkdownTest.php
tests/plugins/resources/hashtags.md [new file with mode: 0644]
tests/plugins/resources/hashtags.raw [new file with mode: 0644]
tests/plugins/resources/markdown.html
tests/plugins/resources/markdown.md