[pmwiki-users] special characters revealing anchors

Jean-Fabrice [gmail] jeanfabrice at gmail.com
Tue Oct 28 03:42:38 CDT 2008

2008/10/28 adam overton <a at plus1plus1plus.org>:
> hi
> i recently discovered some broken/visible anchors on a user's page.
> his use of a special character at the beginning of the anchor seems
> to be the culprit, as it causes the anchor to become visible (special
> characters within a word don't seem to cause problems). here is an
> example;
>     [[#àdroite]]
afaik, pmwiki respects w3c standards and recommendations while this
syntax ([[#àdroite]]) does not.
Take a look at http://www.w3.org/TR/REC-html40/types.html#type-name :
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 (".").


More information about the pmwiki-users mailing list