Hotwords parsed/expanded with built-in macro {toc}, breaking HTML and links
- Status
- Closed
- 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
- Invalid
- Submitted by
- RandyH
- Lastmod by
- Ushindi Gedeon
- 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.
- Workaround
- 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
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- 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 not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 2328
- Created
- Monday 23 February, 2009 19:25:39 UTC
by Unknown - LastModif
- Monday 25 May, 2026 15:35:59 UTC