From: smcv Date: Thu, 1 Jun 2017 14:03:51 +0000 (-0400) Subject: current headinganchors does not damage headings' attributes, although it does not... X-Git-Tag: debian/3.20170622~12 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/af501e9e14815297a2e9bc43dfb520eb24937b4a current headinganchors does not damage headings' attributes, although it does not act on those headings --- diff --git a/doc/plugins/contrib/i18nheadinganchors/discussion.mdwn b/doc/plugins/contrib/i18nheadinganchors/discussion.mdwn index ec6568010..a172e5ac4 100644 --- a/doc/plugins/contrib/i18nheadinganchors/discussion.mdwn +++ b/doc/plugins/contrib/i18nheadinganchors/discussion.mdwn @@ -84,6 +84,10 @@ or similar. > It's not a bug, it's a limitation. :) But sure, it's a thing. It's an issue in > headinganchors as well of course. -- [[anarcat]] +>> No, current/historical headinganchors has a different bug: it ignores headings +>> that have any attributes, and does not generate anchors for them. That gives it +>> degraded functionality, but no information loss. I think that's less bad. --s + I think we should try to use an existing ID before generating our own, with the generation step as a fallback, just like Pandoc does. If a htmlize layer like Text::MultiMarkdown or Pandoc is generating worse IDs than this plugin, the