aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/discount_stopped_rendering_markdown_links.mdwn
diff options
context:
space:
mode:
authorsmcv <smcv@web>2018-03-08 16:54:17 -0400
committeradmin <admin@branchable.com>2018-03-08 16:54:17 -0400
commit06953a196a200441bfc6e9a9942231b03b23537f (patch)
tree4ecee9a70d4fe50dc9bd857fb4d0f48072a05c28 /doc/bugs/discount_stopped_rendering_markdown_links.mdwn
parent04222ffc96f123dc4bd344265df02400aca1581c (diff)
downloadikiwiki-06953a196a200441bfc6e9a9942231b03b23537f.tar
ikiwiki-06953a196a200441bfc6e9a9942231b03b23537f.tar.gz
in progress
Diffstat (limited to 'doc/bugs/discount_stopped_rendering_markdown_links.mdwn')
-rw-r--r--doc/bugs/discount_stopped_rendering_markdown_links.mdwn12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/bugs/discount_stopped_rendering_markdown_links.mdwn b/doc/bugs/discount_stopped_rendering_markdown_links.mdwn
index a5dd0bac0..1d70c926e 100644
--- a/doc/bugs/discount_stopped_rendering_markdown_links.mdwn
+++ b/doc/bugs/discount_stopped_rendering_markdown_links.mdwn
@@ -22,3 +22,15 @@ Some guesses:
- Sufficiently old versions of the Discount library may break when passed unrecognized flags, in which case ikiwiki might want to version-check before passing flags
- The version of the Discount library bundled with upstream Text::Markdown::Discount may be extremely old, in which case pkgsrc might want to make it depend instead on an external Discount package
+
+> This appears to be because `MKD_GITHUBTAGS` and `MKD_LATEX` both have numeric values that
+> were previously used for the internal flag `IS_LABEL`, which strips HTML (its value has
+> changed a couple of times).
+>
+> Having thought about this a bit, I realise I can probe for the values of these flags by
+> processing HTML that should have different results with the flag set or unset, which
+> would be safer than just blindly using them.
+>
+> Orthogonally, pkgsrc should probably use an up-to-date version of Discount, and
+> [we already know that Text::Markdown::Discount needs updating](https://rt.cpan.org/Public/Bug/Display.html?id=124188).
+> --[[smcv]]