summaryrefslogtreecommitdiff
path: root/creole/__init__.py
diff options
context:
space:
mode:
authorJensDiemer <git@jensdiemer.de>2011-08-05 21:30:17 +0200
committerJensDiemer <git@jensdiemer.de>2011-08-05 21:30:17 +0200
commit0a8da0bb26a97bd9f3d7702716a402b400fa6633 (patch)
tree92dcf3ae8d5a4e051f7769a323696998269ef08a /creole/__init__.py
parent4c2430d2cd44f969b57c7297c075b711b4641f2b (diff)
downloadcreole-0a8da0bb26a97bd9f3d7702716a402b400fa6633.tar.gz
Bugfix if docutils are not installed - API change for rest2html import!
Diffstat (limited to 'creole/__init__.py')
-rw-r--r--creole/__init__.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/creole/__init__.py b/creole/__init__.py
index d5bd608..9f13a98 100644
--- a/creole/__init__.py
+++ b/creole/__init__.py
@@ -19,7 +19,7 @@
"""
-__version__ = (0, 7, 0)
+__version__ = (0, 7, 1)
__api__ = (1, 0) # Creole 1.0 spec - http://wikicreole.org/
@@ -33,7 +33,7 @@ from creole.html2creole.emitter import CreoleEmitter
from creole.html2rest.emitter import ReStructuredTextEmitter
from creole.html2textile.emitter import TextileEmitter
from creole.html_parser.parser import HtmlParser
-from creole.rest2html.clean_writer import rest2html
+
# TODO: Add git date to __version__
@@ -106,10 +106,6 @@ def html2rest(html_string, debug=False, parser_kwargs={}, emitter_kwargs={}):
>>> html2rest(u'<p>This is <strong>ReStructuredText</strong> <em>markup</em>!</p>')
u'This is **ReStructuredText** *markup*!'
-
- rest2html from creole.rest2html.clean_writer should be also available here:
- >>> rest2html(u"A ReSt link to `PyLucid CMS <http://www.pylucid.org>`_ :)")
- u'<p>A ReSt link to <a href="http://www.pylucid.org">PyLucid CMS</a> :)</p>\\n'
"""
document_tree = parse_html(html_string, debug, **parser_kwargs)