00995: Ampersands in links create wrong pages
Description: When creating a page in the PmWiki with the ampersand character (&), the title will not properly display the ampersand after the page is saved and viewed.
Once the page is created and saved, the link looks fine. Click the link to go to the Testing & Documentation page however, the title on the page will be Testing AMP Documentation Procedures.
I am using the CIS-Dept. Lean Skin
- jason [period] george [snail] valero [period] com
Hi. It appears that ampersands are stored as & in the source page, but the Markup Engine automatically converts them to &. If we change this, it may have many side-effects on the current core and on many recipes.
Alternatively, we could strip those entities in the LinkPage() function, but there are many such entities, and doing so might break many existing wikis. I wonder if something could be done to fix this bug.
There is one workaround: use
[[LaurelHardy| Laurel & Hardy ]]. --Petko July 09, 2009, at 03:55 PM