From fe1acf226be260ff8320a08082ffbc695b2d386f Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Sun, 19 Oct 2008 14:55:21 -0400 Subject: Fixed Ticket 19. Corrected error regarding encoding in docs. Thanks gjhiggins for report. --- docs/using_as_module.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/using_as_module.txt b/docs/using_as_module.txt index 10c276c..11bad24 100644 --- a/docs/using_as_module.txt +++ b/docs/using_as_module.txt @@ -40,7 +40,6 @@ class yourself and then use ``convert()`` to generate HTML: extension_configs= {'footnotes' : ('PLACE_MARKER','~~~~~~~~')} encoding='utf8', - safe_mode = True) return md.convert(some_text) You should also use this method if you want to process multiple strings: @@ -74,8 +73,8 @@ wraps the above method. In either case, if the ``output`` keyword is passed a file name (i.e.: ``output="out.html"``), it will try to write to a file by that name. If ``output`` is passed a file-like-object (i.e. ``output=StringIO.StringIO()``), -it will attempt to write out to that object. Finally, is ``output`` is -set to ``None``, is will write to ``stdout``. +it will attempt to write out to that object. Finally, if ``output`` is +set to ``None``, it will write to ``stdout``. Using Extensions ---------------- -- cgit v1.2.3