01121: when [[PmWiki/WikiTrails|wikitrail]] links with markup are converted to pagination links, markup is displayed in the pagination link itself
Description: I have a generic bulleted list user guide that I have made into a wiki trail in order to take advantage of the great built-in pagination. A few of my original links in my list have some bold markup (single quotes), which are correctly displayed in the table of contents, and when a page title is created the markup single quotes are correctly stripped, but when pmwiki creates the pagination links, the single quotes for markup are not stripped, and remain in the link.
All functions correctly, but I think the markup should be stripped when the pagination links are created and displayed.
I am not quite sure what you mean by "built-in pagination" -- could you give an example? --Petko July 22, 2009, at 04:38 PM
Please look at PmWikiPhilosophy. At top of page for this wikitrail, the "built-in pagination" links are "Mailing Lists|Documentation Index|Design Notes" and are automatically generated by the internal wikitrail code in some parent wiki page. On the parent page, if you include markup for bolding, italics... single-quotes... the markup also appears in the generated pagination links... JJ
<< TrailPage4 | Trail index | Wiki trail 3 >>
< Trail6 | Test.WikiTrail | Trail 7 >
I think the second example illustrates the problem - simon July 30, 2009, at 12:25 AM
Should it strip the inline markup, or display the entry, ie. in bold, because the trail authors chose it this way? There is also a workaround -- use
* [[ Group/Page | link text ]] %item font-weight=bold% or
* [[ Group/Page | link text ]] %item myclass%
where you can style
li.myclass a.wikilink in your pub/css/local.css file.
Note, stripping the formatting will be technically quite complex to do in this case, if possible at all -- there could be various custom markups defined in a wiki. Displaying the bold markups inline should be feasable. --Petko October 03, 2009, at 08:21 AM