...
*This _is* invalid_
With the version of asciidoctor installed on my computer, this produces:
<simpara>
<emphasis role="strong">This <emphasis>
is
</emphasis> invalid</emphasis>
</simpara>
But I don't think we should officialize such behavior. Or should we?
Except the output is for:
*This _is_ invalid*
Reorganising the writer's input markup doesn't seem to be the thing to have a spec require. I would simply document overlapping markups as not legal and leave what happens as implementation defined, some may reorganise to get something that is legal in a particular output, some may give an error.
That said, there is nothing I can find in the new Asciidoctor docs that says anything about nesting of markups anyway. I can find only one example involving unconstrained markup but no rules or requirements. But maybe I'm missing something. Anybody else find it?
The original Asciidoc Python implementation documented that overlapping quotes markups is not allowed.
Cheers
Lex
PS a possible intent of the original would be *This* *_is_* _invalid_ or *This* _*is*_ _invalid_ but which? So again it is getting complex to specify all possible combinations of such rearrangements in a spec and to require it of implementations
- Sylvain
_______________________________________________
asciidoc-lang-dev mailing list
asciidoc-lang-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/asciidoc-lang-dev