Rename function.

This commit is contained in:
John Schember 2011-05-10 06:37:40 -04:00
parent 3ca59beaf5
commit b95f9949be

View File

@ -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'''