On 20 June 2012 14:47, Wilhelm <[email protected]> wrote: > Am 20.06.2012 01:59, schrieb Stuart Rackham: >> >> Thanks for the patch Lex, I've committed it to the trunk: >> >> >> https://code.google.com/p/asciidoc/source/detail?r=f139415803b0107f84cc61437c180f7262a56bda >> > > Now xml/pdf generation is ok, but in html5 now class=myrole is encluded. > > Did I miss something? >
Hi, (x)html(5) from source highlight filter is pre-styled so external classes shouldn't be applied. If you really need to do something the output of source-highlight is in a <div class=listingblock><div class=content> which you should be able to detect with CSS. Cheers Lex > >> >> Cheers, Stuart >> >> On 19/06/12 22:45, Lex Trotman wrote: >>> >>> [...] >>>> >>>> The "source" style sends it to the source filter, which doesn't >>>> properly use the role attribute for listings without a title. That'd >>>> be a bug :) >>>> >>> >>> Patch attached. >>> >>> Cheers >>> Lex >>> >> > > > -- > Wilhelm > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/asciidoc?hl=en. > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
