1 from textile import Textile
4 class TextilePL(Textile):
5 """Polish version of Textile.
7 Changes opening quote to Polish lower-double.
9 glyph_defaults = [(name, repl)
10 for (name, repl) in Textile.glyph_defaults
11 if name != 'txt_quote_double_open']
12 glyph_defaults.append(('txt_quote_double_open', '„'))
16 return TextilePL().textile(text)
19 def textile_restricted_pl(text):
20 return TextilePL(restricted=True, lite=True,
21 noimage=True, auto_link=False).textile(