Closed msuchane closed 5 years ago
I should add that such change would not break compatibility - the existing usage of single quotes is in no way affected.
There are more auto-replacements that could be applied as a surprise, not just double dash.
We merged #91, so this issue is fixed. Thanks!
As it was explained to @VladimirSlavik by AsciiDoctor developers[1], IDs must always be surrounded by double quotes in AsciiDoc because single quotes are markup.
The problem manifests, for example, when there is a double dash in an ID:
id="x--y
", everything works as expected, and the resulting ID isx--y
.id='x--y'
, the double dash is converted to an en-dash (x–y
), breaking theccutil
build.Templates should be edited to replace single quotes with double quotes in ID.
[1] https://github.com/asciidoctor/asciidoctor/issues/2960