Skip to main content
jb_sharx
Participant
April 8, 2015
Question

I have a manual that contains headings and index entries that contain less than and greater than characters, < and >. The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in e

  • April 8, 2015
  • 1 reply
  • 258 views

I have a manual that contains headings and index entries that contain less than and greater than characters, < and >. The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the Contents or the Index of the generated HTML. In the Contents the words are completely missing and in the index entries the '\' characters that are required in the markers remain in the entry but the leading less than symbol and the first character of the word is deleted; hence what should appear as <dataseries> appears as \ataseries\>. I believe this is a FMv12 bug. Has anyone else experienced this? Is the FM team aware and working on a fix. Any suggestions for a workaround?

    This topic has been closed for replies.

    1 reply

    jb_sharx
    jb_sharxAuthor
    Participant
    April 8, 2015

    This is an FMv12 bug in the Publish to Responsive HTML5 function. The problem is caused because it is embedding HTML inside XML in the tocnn.js files in the \whxdata directory and not escaping it correctly. For example, something that is in the original FM file as '<form>' cannot be escaped (as it currently is) as '&lt;form&gt;' in the .js toc file. The leading ampersands also need to be escaped - so '&lt;' and '&gt;' is what is needed. A quick global change and my Contents now display correctly. This is a quick fix and will be lost on the subsequent publish. A similar problem no doubt exists in the index. Over to you.    

    Arnis Gubins
    Inspiring
    April 8, 2015

    Nice sleuthing!

    Please report this via the bugbase (https://bugbase.adobe.com/index.cfm) so that the engineers can address the issue.