The same problem happens with non-English content (more exactly, when cleanID() does not produce a legal entry for the HTML "id" tag -- like cyrillic, hebrew, arabian, far eastern, etc.). There are probably two ways to solve this: 1) complicate cleanID() so that it would do language-specific transliteration; 2) use generic non-intuitive names like hd1, hd2,.... Or a combination of these two: generic names when bad simbols are present and no better option is provided, trasliteration when available. As to option (1), WackoWiki, for example, uses automatic trasliteration of cyrillic for its page id's -- this also results in nice human-readable URL's. Denis On 2/7/06, Anika Henke <a.c.henke@xxxxxxxx> wrote: > Hallo list! > > I came across a certain problem with html anchors: > > Each "name" and "id" attribute is generated out of each headline. But > names/ids must not begin with a digit! All other forbidden characters > are caught with the help of cleanID(). > > The question is: What should be done? Should the digits just be omitted? > Or should those anchors have a certain letter prefixed? ('x'? Or 'n'?) > > It's also a question of usability. It could confuse users to see an > anchor "ways_to_do_it_better", whereas the headline clearly reads "3 > ways to do it better" ... Okay, bad example. But I bet you can imagine > worse scenarios ... > > But then again ... they're just anchors, and not that important ...!? > > > Anika > -- > DokuWiki mailing list - more info at > http://wiki.splitbrain.org/wiki:mailinglist > -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist