mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
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:
parent
6bff37343e
commit
1d0606ad18
@ -392,6 +392,7 @@ class PreProcessor(object):
|
|||||||
opts = getattr(self, 'opts', False)
|
opts = getattr(self, 'opts', False)
|
||||||
if opts and hasattr(opts, 'profile') and getattr(opts.profile, 'remove_special_chars', False):
|
if opts and hasattr(opts, 'profile') and getattr(opts.profile, 'remove_special_chars', False):
|
||||||
html = opts.profile.remove_special_chars.sub('', html)
|
html = opts.profile.remove_special_chars.sub('', html)
|
||||||
|
html = html.replace(u'\u2011', '-')
|
||||||
if self.is_baen(html):
|
if self.is_baen(html):
|
||||||
rules = []
|
rules = []
|
||||||
elif self.is_book_designer(html):
|
elif self.is_book_designer(html):
|
||||||
|
@ -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>`_.
|
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?
|
I want some feature added to |app|. What can I do?
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Loading…
x
Reference in New Issue
Block a user