From b95f9949be04a4d92eeabc76629cff0361817d47 Mon Sep 17 00:00:00 2001 From: John Schember Date: Tue, 10 May 2011 06:37:40 -0400 Subject: [PATCH] Rename function. --- src/calibre/ebooks/textile/functions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/ebooks/textile/functions.py b/src/calibre/ebooks/textile/functions.py index 8a9c6b082a..e088d264fc 100755 --- a/src/calibre/ebooks/textile/functions.py +++ b/src/calibre/ebooks/textile/functions.py @@ -705,7 +705,7 @@ class Textile(object): result.append(line) return ''.join(result) - def glyphs_only(self, text): + def macros_only(self, text): # fix: hackish text = re.sub(r'"\Z', '\" ', text) @@ -828,7 +828,7 @@ class Textile(object): 'fooobar ... and hello world ...' """ - text = self.glyphs_only(text) + text = self.macros_only(text) punct = '!"#$%&\'*+,-./:;=?@\\^_`|~' pattern = r'''