# HG changeset patch # User Paul Boddie # Date 1423171361 -3600 # Node ID 41f5fae7bb834047f8c32b04af458bf3dd909e2d # Parent 8d2a2f4c6a9dfe9faf2a60c0fc921a597208f981 Fixed apostrophe (single quote) encoding. diff -r 8d2a2f4c6a9d -r 41f5fae7bb83 markup.py --- a/markup.py Thu Feb 05 21:53:42 2015 +0100 +++ b/markup.py Thu Feb 05 22:22:41 2015 +0100 @@ -449,7 +449,7 @@ if '\"' in text: text = text.replace( '\"', '"' ) if '\'' in text: - text = text.replace( '\'', '"' ) + text = text.replace( '\'', ''' ) if newline: if '\n' in text: text = text.replace( '\n', '
' )