On 12 February 2011 13:13, Stuart Rackham <[email protected]> wrote: > > > On 12/02/11 13:09, Lex Trotman wrote: >> >> On 12 February 2011 10:38, Stuart Rackham<[email protected]> wrote: >>> >>> >>> On 12/02/11 11:27, Lex Trotman wrote: >>>> >>>> On 11 February 2011 22:36, Simon Ruderich<[email protected]> wrote: >>>>> >>>>> On Fri, Feb 11, 2011 at 06:07:26PM +1300, Stuart Rackham wrote: >>>>>> >>>>>> With 27 commits including quite a few bug fixes its time to start >>>>>> working >>>>>> towards the next stable release, hopefully will tag 8.6.4 in the next >>>>>> week >>>>>> or two. The more people that install and test the current trunk the >>>>>> better. >>>>>> Please post any outstanding issues. >>>>>> >>>>>> Cheers, Stuart >>>>> >>>>> Hi Stuart, >>>>> >>>>> I just tried the latest hg and found a problem introduced in >>>>> "FIXED: Auto-generated section title ids are now unicode aware.". >>>>> >>>>> The following AsciiDoc snippet: >>>>> >>>>> Täst >>>>> ---- >>>>> >>>>> Creates this HTML-Code: >>>>> >>>>> <h2 id="_täst">Täst</h2> >>>>> >>>>> I think the id-attribute should be pure ASCII >>>> >>>>> From the HTML spec on w3c >>>> >>>> ID and NAME tokens must begin with a letter ([A-Za-z]) and may be >>>> followed by any number of letters, digits ([0-9]), hyphens ("-"), >>>> underscores ("_"), colons (":"), and periods ("."). >>>> >>>> so leading _ is not technically allowed either. >>> >>> Yes it is, but it's a issue that's easily confused, see: >>> >>> >>> http://groups.google.com/group/asciidoc/browse_thread/thread/98e0b437cb97bd91 >>> >>> http://www.w3.org/TR/REC-xml/#NT-NameStartChar >>> >>> >>> Cheers, Stuart >> >> Ok, when Simon said HTML I took it to mean html 4.01 not xhtml > > The leading underscore is also valid in the HTML 4.01 generated by AsciiDoc > because it uses the name attribute not the id attribute. > > Cheers, Stuart >
Hi Stuart, Yes, I should have been more specific, when I first posted I wasn't aware that the fact that Asciidoc had produced "id" not "name" meant that Simon's HTML was an xhtml fragment where all XML niceness is available. I now am. Sorry to waste your time. Cheers Lex > >> > >> Cheers >> Lex >> >>> >>>> >>>> Cheers >>>> Lex >>>> >>>> and it worked fine >>>>> >>>>> before this change. This occurs for most non-ASCII characters >>>>> (like í, é, etc.). >>>>> >>>>> Regards, >>>>> Simon >>>>> -- >>>>> + privacy is necessary >>>>> + using gnupg http://gnupg.org >>>>> + public key id: 0x92FEFDB7E44C32F9 >>>>> >>>> >>> >>> -- >>> 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. > > -- 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.
