bytesparadise / libasciidoc

A Golang library for processing Asciidoc files.
Apache License 2.0
205 stars 25 forks source link

toc-title attribute behaves wrong #1092

Closed pjanx closed 2 years ago

pjanx commented 2 years ago

~This should do:~

:toc-title: pass:[<h2>Hello!</h2>]

~what this does now:~

:toc-title: <h2>Hello!</h2>

~which should be HTML-quoted.~

xcoulon commented 2 years ago

@pjanx could you elaborate, please? I don't understand what the problem is 😬

pjanx commented 2 years ago

I'll try to replicate it again, it seems like there is something else at play.

pjanx commented 2 years ago

Okay, this is apparently about my use of -a, and asciidoctor doesn't parse it either.