Permalink
Browse files

setting default emitter to BiblionHtmlEmitter, which it effectively w…

…as before before as the post form hardcoded it
  • Loading branch information...
1 parent 2273a52 commit 7542f59d83f2c42cb7eec1d6235a6ecc4a9b14b7 @lukeman lukeman committed Jul 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 biblion/creole_parser.py
View
@@ -186,7 +186,7 @@ class BiblionHtmlEmitter(PygmentsHtmlEmitter, ImageLookupHtmlEmitter):
pass
-def parse(text, emitter=HtmlEmitter):
+def parse(text, emitter=BiblionHtmlEmitter):
return emitter(Parser(text).parse()).emit()

1 comment on commit 7542f59

Owner

brosner commented on 7542f59 Jul 12, 2011

The reason for the original default value was to keep the module generic enough to be copy and pasted around. I am fine with the change, but not sure it really buys us anything does it?

Please sign in to comment.