EPUB Output:Replace non breaking hyphens with ordinary hyphens as the default fonts that come with ADE don't suport them.

This commit is contained in:
Kovid Goyal 2009-05-05 12:28:30 -07:00
parent 6bff37343e
commit 1d0606ad18
2 changed files with 5 additions and 0 deletions

View File

@ -392,6 +392,7 @@ class PreProcessor(object):
opts = getattr(self, 'opts', False)
if opts and hasattr(opts, 'profile') and getattr(opts.profile, 'remove_special_chars', False):
html = opts.profile.remove_special_chars.sub('', html)
html = html.replace(u'\u2011', '-')
if self.is_baen(html):
rules = []
elif self.is_book_designer(html):

View File

@ -218,6 +218,10 @@ If it still wont launch, start a command prompt (press the windows key and R; th
Post any output you see in a help message on the `Forum <http://www.mobileread.com/forums/forumdisplay.php?f=166>`_.
My antivirus programs claims |app| is a virus/trojan?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your antivirus program is wrong. |app| is a completely open source product. You can actually browse the source code yourself (or hire someone to do it for you) to verify that it is not a virus. Please report the false identification to whatever company you buy your antivirus software from.
I want some feature added to |app|. What can I do?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~