diff options
author | Simon McVittie <smcv@debian.org> | 2018-03-08 23:36:31 +0000 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2018-03-08 23:36:31 +0000 |
commit | e3279c8b508ce88ea2b23f99a1d8a4295fb06dd9 (patch) | |
tree | b68ba1a8acf11ae12234962ec666d1bab4853a26 /doc/bugs/discount_stopped_rendering_markdown_links.mdwn | |
parent | 06953a196a200441bfc6e9a9942231b03b23537f (diff) | |
download | ikiwiki-e3279c8b508ce88ea2b23f99a1d8a4295fb06dd9.tar ikiwiki-e3279c8b508ce88ea2b23f99a1d8a4295fb06dd9.tar.gz |
mdwn: Automatically detect which libdiscount flags to use
Unconditionally passing arbitrary numbers as flags turns out to be a
bad idea, because some of the "unused" values have historically had
side-effects internal to libdiscount. Detect whether the known flags
work by rendering short Markdown snippets the first time we htmlize,
checking whether each known flag is both necessary and sufficient.
Signed-off-by: Simon McVittie <smcv@debian.org>
Diffstat (limited to 'doc/bugs/discount_stopped_rendering_markdown_links.mdwn')
-rw-r--r-- | doc/bugs/discount_stopped_rendering_markdown_links.mdwn | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/bugs/discount_stopped_rendering_markdown_links.mdwn b/doc/bugs/discount_stopped_rendering_markdown_links.mdwn index 1d70c926e..cfe544b02 100644 --- a/doc/bugs/discount_stopped_rendering_markdown_links.mdwn +++ b/doc/bugs/discount_stopped_rendering_markdown_links.mdwn @@ -34,3 +34,8 @@ Some guesses: > 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]] + +>> This should be [[fixed|done]] in current git. The mdwn module now +>> detects what your version of Discount supports by trying several +>> short HTML fragments that render differently under the different +>> flags. --[[smcv]] |