[pmwiki-users] link--problem

Patrick R. Michaud pmichaud at pobox.com
Wed Oct 18 08:08:02 CDT 2006


On Wed, Oct 18, 2006 at 01:57:51PM +0200, Hans Huijgen wrote:
> ls,
> 
> One of the editors of our school site found an interesting link:
> http://ocw.mit.edu/OcwWeb/Earth--Atmospheric--and-Planetary-Sciences/12-097January--IAP--2006/Labs/index.htm
> When he tries to link that within our pmwiki site it doesn't become a
> working link, becauce of that two endashes after each other, which are
> "assimilated" to one bigger line.
> for an example look at: http://biologie.fali.nl/index.php/The/The
> The same happens when replacing the endashes with –
> How can we establish a working link with this amazing URL?

The problem is probably the MarkupExtensions recipe -- it tends
to want to convert "--" in the markup into dash characters, and 
this is happening before the url is processed.

You could try url-encoding some of the hyphens with %2d
to avoid the "--" conversion, as in:

    http://ocw.mit.edu/OcwWeb/Earth%2d-Atmospheric%2d-and-Planetary-Sciences/12-097January%2d-IAP%2d-2006/Labs/index.htm




More information about the pmwiki-users mailing list