diff options
| author | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2004-04-26 22:09:57 +0000 |
|---|---|---|
| committer | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2004-04-26 22:09:57 +0000 |
| commit | 5432860eba15ceba54fb60cd89e3dc7ee195641a (patch) | |
| tree | d3f1362ed6818785a3d022118b275343934fc3d1 /docutils/examples.py | |
| parent | 8d645d5658e6082b69aec8b7469be3c917d8f26e (diff) | |
| download | docutils-5432860eba15ceba54fb60cd89e3dc7ee195641a.tar.gz | |
fixed typo; found by Stephen Boulet
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@1993 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/examples.py')
| -rw-r--r-- | docutils/examples.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docutils/examples.py b/docutils/examples.py index c149bf9d5..25c97b293 100644 --- a/docutils/examples.py +++ b/docutils/examples.py @@ -58,6 +58,6 @@ def html_fragment(input_string, destination_path=None, input_string=input_string, destination_path=destination_path, input_encoding=input_encoding, doctitle=doctitle) fragment = parts['fragment'] - if output_endocing != 'unicode': + if output_encoding != 'unicode': fragment = fragment.encode(output_encoding) return fragment |
