|
[dokuwiki]
||
[Date Prev]
[02-2006 Date Index]
[Date Next]
||
[Thread Prev]
[02-2006 Thread Index]
[Thread Next]
[dokuwiki] Re: invalid anchors
- From: Chris Smith <chris@xxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Thu, 09 Feb 2006 10:10:21 +0000
fyi, the "specification" for names and ids is in html4.01 document,
http://www.w3.org/TR/html401/types.html#h-6.2
they are both specified as CDATA with the following extra constraint
[a-zA-Z][a-zA-Z0-9_:.-]*
I guess browsers accept a whole lot more than that.
Given that in effect, which ever way dokuwiki goes, the generated string
won't be strictly compliant, why not drop the name and use the id?
And add to dokuwiki parser, the ability to understand an actual headline
in a dokuwiki internal link and determine the correct matching fragment
identifier to use in the link. That would allow complete separation of
real fragment ids from headlines making it easy for the parser to
determine if the fragment id is from a pasted link or from a
typed/pasted headline.
Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
|