[pmwiki-users] special characters revealing anchors
adam overton
a at plus1plus1plus.org
Tue Oct 28 04:36:53 CDT 2008
hi JF
thanks for your response
though i'm not sure if i'm understanding correctly.
this seems to be a pmwiki issue.
if i go into, say dreamweaver, and create the anchor as desired, using
<a name="àdroite" id="àdroite"></a>
it works correctly: the anchor doesn't display, and any link#àdroite
leads to the right place
but [[#àdroite]] seems to cause pmwiki to spit out
<a href='#àdroite'>#àdroite</a>
?
a
On 28 Oct 2008, at 1:42 AM, Jean-Fabrice [gmail] wrote:
> 2008/10/28 adam overton <a at plus1plus1plus.org>:
>>
>> hi
> 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 (".").
>
> JF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20081028/b6cace47/attachment.html
More information about the pmwiki-users
mailing list