This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-07-24 00:00:01 +00:00
parent 318072b972
commit 7c73b8712d

View File

@ -27647,6 +27647,9 @@ explicitly-given</pre>
<div class="paragraph">
<p>One application we have in mind for this is that as of 2.0.10 Asciidoctor does not warn on header ID collisions between auto-generated IDs: <a href="https://github.com/asciidoctor/asciidoctor/issues/3147" class="bare">https://github.com/asciidoctor/asciidoctor/issues/3147</a> But this script doesn&#8217;t solve that yet as it would require generating the section IDs without the <code>-N</code> suffix. Section generation happens at <code>Section.generate_id</code> in Asciidoctor code.</p>
</div>
<div class="paragraph">
<p>Hastily hacked from: <a href="https://asciidoctor.org/docs/user-manual/#https://asciidoctor.org/docs/user-manual/#tree-processor-example" class="bare">https://asciidoctor.org/docs/user-manual/#https://asciidoctor.org/docs/user-manual/#tree-processor-example</a> until I noticed that that example had a bug at the time and so fixed it here: <a href="https://github.com/asciidoctor/asciidoctor/issues/3363" class="bare">https://github.com/asciidoctor/asciidoctor/issues/3363</a></p>
</div>
</div>
</div>
</div>