Loading...
 
Skip to main content

wiki parsed menu labels display html with bootstrap menus

Status
Closed
Subject
wiki parsed menu labels display html with bootstrap menus
Version
13.x
13.x Regression
14.x
14.x Regression
Category
  • Regression
Feature
Menu
Resolution status
Fixed or Solved
Submitted by
Geoff Brickell
Lastmod by
Geoff Brickell
Rating
(0)
Description

menus for some time have had the option to have the menu label wiki parsed - which allows customised formatting of the label and if required the addition of images etc

for wiki parsed menus that are displayed using the 'old' suckerfish menus this still works perfectly so that for example a menu item with the label:

Home {img src="img/icons/home.gif" height="12" width="12" alt="Image"}

creates the parsed output of:

<li class="option217 menuSection menuSection0 menuLevel0"> <a href="HomePage"> <span class="menuText"> Home <img class="regImage pluginImg" width="12" height="12" alt="Image" src="img/icons/home.gif"> </span> </a> </li>


and will correctly display: Home Image

However when the same menu is displayed using a bootstrap menu format something goes wrong with the wiki parsing causing an additional / to added to the end of the img tag ie

<li> <a href="tiki-index.php?page=HomePage">Home <img src="img/icons/home.gif" height="12" width="12" alt="Image" class="regImage pluginImg" /> </a> </li>


this is then displayed as:

Home <img src="img/icons/home.gif" height="12" width="12" alt="Image" class="regImage pluginImg" />

ie showing all the html

Solution
fixed r54292
Importance
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5334
Created
Monday 14 July, 2014 11:27:31 UTC
by Geoff Brickell
LastModif
Monday 09 March, 2015 12:49:23 UTC


Show PHP error messages