aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/escaped_style_tag_becomes_elyts.mdwn
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2017-05-14 17:45:55 +0100
committerSimon McVittie <smcv@debian.org>2017-05-14 17:45:55 +0100
commit81c3258269fa53684043ce5b9fd701bb6a381017 (patch)
tree41caeb452a1881245fc523845d7b733bc79fd396 /doc/bugs/escaped_style_tag_becomes_elyts.mdwn
parent5d65c1ad2c1d4a39dcb8c36d6ae6e4d458ed829f (diff)
downloadikiwiki-81c3258269fa53684043ce5b9fd701bb6a381017.tar
ikiwiki-81c3258269fa53684043ce5b9fd701bb6a381017.tar.gz
mdwn: Don't mangle <style> into <elyts> under some circumstances
We can ask libdiscount not to elide <style> blocks, which means we don't have to work around them.
Diffstat (limited to 'doc/bugs/escaped_style_tag_becomes_elyts.mdwn')
-rw-r--r--doc/bugs/escaped_style_tag_becomes_elyts.mdwn4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/bugs/escaped_style_tag_becomes_elyts.mdwn b/doc/bugs/escaped_style_tag_becomes_elyts.mdwn
index 709542527..336e2ff95 100644
--- a/doc/bugs/escaped_style_tag_becomes_elyts.mdwn
+++ b/doc/bugs/escaped_style_tag_becomes_elyts.mdwn
@@ -28,3 +28,7 @@ discuss style markup several times. The first couple of times I saw this happen,
I thought it was some sort of misguided anti-cross-site-scripting filter...
--[[smcv]]
+
+> [[Fixed|done]] by passing the `MKD_NOSTYLE` flag to Discount instead.
+> Unfortunately this isn't bound by [[!cpan Text::Markdown::Discount]] yet,
+> so for now I'm hard-coding its numeric value. --[[smcv]]