[Zope-CMF] CMFWiki anchor creation problems

Kent Polk kent@goathill.org
16 Nov 2001 20:05:47 GMT


Not too long ago, I noticed that the CMFWiki didn't always handle
the creation of anchors when words were enclosed in brackets [].

I just upgreaded to Zope 2.4.3 and it appears that the problem is
worse now in that the problem is apprently nesting itself.

For example, before the upgrade, I had a particular page as such:


 - SystemPurpose

 - SystemFeatures

 - UseCases

 - Workflow

   - WorkflowUnits of a Genotyping Project

   - [Roles]

   - TaskSequence

   - CMFWorkflow Design Notes

-------------

the Roles anchor before the 2.4.3 upgrade was rendered as such:

<li><p><a href="#Roles"><a href="Roles">Roles</a></a></p></li>

Note that there was a preceeding anchor with a '#' in it which
surrounded the correct anchor.

After upgrading to 2.4.3, that same anchor is now rendered as such:

<li><p><a href="#Roles"><a href="#Roles">
 <a href="Roles">Roles</a></a></a></p></li>

Also after the 2.4.3 upgrade, all of my wiki pages that use brackets
to create wiki links appear as either the first case or the second
case now.

This apparently has nothing to do with the CMFWiki source (I believe)
as I didn't upgrade the CMFWiki at the same time, nor does anything
in the CMFWiki code seem to create or affect it (I walked through
everything in the CMFWiki that generates anchors and couldn't locate
what was doing it).

I suspect that there is something maybe in the structuredText
handling that is creating the nested anchors. Has anyone else
noticed this?