Description of problem: When you package a translated book, Publican sets the web_name_label and web_product_label parameters so that the translated title and product name are displayed in the website table of contents. However, if the translated title or product name includes an apostrophe, the title appears in the table of contents with a backslash in front of the apostrophe. For example, an Installation Guide in French will have the translated title "Guide d'installation", but this appears in the site table of contents as "Guide d\'installation". Version-Release number of selected component (if applicable): 2.6-3 How reproducible: 100% Steps to Reproduce: 1. Create a set of PO files for a book 2. Provide a translation for the title in the Book_Info.po file. Make sure that the translated title has an apostrophe in it 3. Build and install the web RPM for the book 4. Open the html or html-single version of the book and look at the site ToC in the left-hand pane Actual results: Apostophes in the translated title are prefixed with a backslash Expected results: No backslash, just apostrophe Additional info: Example section from spec file: %post -n Red_Hat_Enterprise_Linux-Installation_Guide-6-web-fr-FR publican update_db --add --lang="fr-FR" --formats="html,pdf,html-single,epub" --name="Installation_Guide" --version="6" --product="Red_Hat_Enterprise_Linux" --subtitle="Installation de Red Hat Enterprise Linux 6 pour toutes les architectures" --abstract="Ce manuel explique comment lancer le programme d\'installation Red Hat Enterprise Linux 6 (anaconda) et comment installer Red Hat Enterprise Linux 6 sur les systèmes x86 32-bit et 64-bit, sur les systèmes POWER 64-bit, et sur les systèmes IBM System z. Il couvre aussi des méthodes d\'installation avancées telles que les installations kickstart, PXE, et les installations au moyen de VNC. FInalement, ce manuel décrit les tâches communes post-installation et explique comment résoudre les problèmes liés à une installation." --name_label="Guide_d\'installation"
Spec file now uses double quote instead of single quote, so changed which quote gets escaped in spec file. Changed in branches/publican-2x and trunk. Committed revision 1884.
Verified in publican-2.7-0.fc15.t39.noarch -- thanks!
Publican 2.7 has been release and includes a fix for this issue.