Transforming to HTML strips all dash characters
Posted: Tue Jul 21, 2015 7:54 pm
We have a large Help system authored in DocBook XML. Our developers have integrated Saxon transformation to HTML (EclipseHelp plugin is the final format). We noticed that in all our code examples, all the dash characters are stripped out. I don't think this was happening with the older version of Author I was using... it might have begun with upgrade to 16.1.
The xml sources declare: and all the dash characters are present in the source files as the - character (i.e. not as an entity like –).
The HTML files in our help after the transformation declare:
I tried the DocBook WebHelp scenario (Author 16.1 Mac) on one of the problem source files, and the HTML output file declares:
However, in all cases, the dash (-) characters are stripped.
becomes
becomes
In project settings, the Fallback character encoding option is set to: ISO-8859-1
Any suggestions how to fix this will be greatly appreciated.
The xml sources declare:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
The HTML files in our help after the transformation declare:
Code: Select all
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
Code: Select all
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Code: Select all
$JDK_HOME/bin/keytool -importcert -file
Code: Select all
$JDK_HOME/bin/keytool importcert file
Code: Select all
apt-get install openssl
Code: Select all
aptget install openssl
Any suggestions how to fix this will be greatly appreciated.