Loading...
 
Skip to main content

WebHelp fails if a wiki page includes a " (quote) in the pagename or page description

Status
Pending
Subject
WebHelp fails if a wiki page includes a " (quote) in the pagename or page description
Version
2.x
Category
  • Error
Feature
WebHelp
Resolution status
New
Submitted by
Rick Sapir / Tiki for Smarties
Rating
(0)
Description

Tested with 1.10b1 from SVN (not sure about prior releases).

When generating webhelp from a wiki structure, if a wiki pagename or page description includes a " (quote), the webhelp will fail.

Workaround:
After Tiki generates the the files, you must manually edit the following file:

../webhelp/YOUR STRUCTURE NAME/menu/menuNodes.js

Look for the entry that contains the " (quote). It may be similar to:

insDoc(foldersTreeAAA,gLnk("R","Your page title with "quotes" here","pages/Your page name.html"));

You will need to "escape" the quotes as follows:

insDoc(foldersTreeAAA,gLnk("R","Your page title with \"quotes\" here","pages/Your page name.html"));

The webhelp will now function properly.

Solution
Tiki should automatically escape the " with \" when generating the menuNodes.js file
Importance
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1709
Created
Friday 18 April, 2008 20:46:27 UTC
by Unknown
LastModif
Friday 18 April, 2008 20:46:27 UTC


Show PHP error messages