You need the quotes I showed around source and language, see
http://asciidoc.org/userguide.html#X21 dot point 2.
["source","{basebackend@docbook:c++:cpp}",title=""]
works for me.
Cheers
Lex
On 3 September 2015 at 10:04, Jon Leech <[email protected]> wrote:
>
>
> On Wednesday, September 2, 2015 at 4:13:00 PM UTC-7, Lex Trotman wrote:
>>
>> A ttile for the listing.
>>
>> ["source", "c++", title=""]
>> ----
>> code code code
>> ----
>
>
> When I put an title in the test.txt example I attached at the start of the
> thread, like this:
>
> [source,{basebackend@docbook:c++:cpp},title=""]
>
> Then the 'fails' target (the one without any text between the anchor and the
> [source]
> directive) generates illegal XML that fails xmllint as shown in the attached
> log. It doesn't
> matter if the title value is empty or not - it's trying to generate the XML
> title attribute
> inside the *value* of the linenumbering attribute, and the quote nesting
> gets messed
> up.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/asciidoc.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.