From 275a1dd6ad84dc6ddf603f2df5f09c77d36fe642 Mon Sep 17 00:00:00 2001 From: retiefjimm Date: Fri, 8 Oct 2010 21:54:35 -0500 Subject: [PATCH] Add '->'\'' to entity translation list. --- constants.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/constants.py b/constants.py index 437fe5a1..5da65e78 100644 --- a/constants.py +++ b/constants.py @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +# -*- coding: utf-8 -*- CSS = '''body { margin-left: 5%; margin-right: 5%; margin-top: 5%; margin-bottom: 5%; text-align: justify; } pre { font-size: x-small; } @@ -115,8 +115,8 @@ acceptable_elements = ['a', 'abbr', 'acronym', 'address', 'area', 'b', 'big', acceptable_attributes = ['href'] -entities = { '–' : ' - ', '—' : ' - ', '”' : '"', '“' : '"', '’' : '\'', - '‘' : '\'', '"' : '"', '…' : '...', '&' : '&', '£' : '£', ' ' : ' ' } +entities = { '–' : ' - ', '—' : ' - ', '”' : '"', '“' : '"', '’' : '\'', ''' : '\'', + '‘' : '\'', '"' : '"', '…' : '...', '&' : '&', '£' : '£', ' ' : ' ' } FB2_PROLOGUE = '' FB2_DESCRIPTION = '''