Hotwords parsed/expanded with built-in macro {toc}, breaking HTML and links
- Status
- Open
- Subject
- Hotwords parsed/expanded with built-in macro {toc}, breaking HTML and links
- Version
- 2.x
- Category
- Conflict of two features (each works well independently)
- Usability
- Feature
- Hotword
Wiki Structure (book & table of content) - Resolution status
- New
- Submitted by
- RandyH
- Lastmod by
- Philippe Cloutier
- Rating
- Description
- Hotword processing needs to be turned off for the text expansion of the built-in macro toc: Copy to clipboard{toc}
If a page name in a structure has spaces, and a defined hotword appears as a name in the page, then the toc expansion is corrupted by the hotword processing. For example, if the page name in a structure is xxx yyy zzz ddd and zzz is a defined hotword, then the resulting link out of the toc expansion is the equivalent of:Copy to clipboard((xxx yyy zzz ddd|xxx yyy)) ((zzz)) dddNote how the trailing portion of the page name is not linked at all now.
This may apply to expanding the built-in macro maketoc, especially when aliases are shown, as well.
Verified on the opensourcecms.org installation as requested.
- Solution
- Escape the results of the toc built-in macro expansion to prevent hotword processing as it is, by definition, already processed for links.
- Importance
- 6
- Priority
- 30
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is currently unavailableUnable to connect to show.tikiwiki.org. Please let us know of the problem so that we can do something about it. Thanks.
- Ticket ID
- 2328
- Created
- Monday 23 February, 2009 19:25:39 UTC
by Unknown - LastModif
- Thursday 13 September, 2018 17:25:52 UTC