]> BookStack Code Mirror - bookstack/commit
Added strikethrough support to back-end md rendering
authorDan Brown <redacted>
Sun, 10 Jan 2021 23:01:11 +0000 (23:01 +0000)
committerDan Brown <redacted>
Sun, 10 Jan 2021 23:01:11 +0000 (23:01 +0000)
commit28c706fee3b094f2a580975592014ce3d5205dce
tree5d245b99c8bee84bf5d524bf4bf9ac36afd294f2
parent44315233d7465f734ef833cc84bc322fc0438070
Added strikethrough support to back-end md rendering

Needed to tweak the default library strikethrough extension
so that it uses the same element as front-end.
Added testing to cover.
For #2470.
app/Entities/Tools/Markdown/CustomStrikeThroughExtension.php [new file with mode: 0644]
app/Entities/Tools/Markdown/CustomStrikethroughRenderer.php [new file with mode: 0644]
app/Entities/Tools/PageContent.php
tests/Entity/PageContentTest.php