diff options
author | Waylan Limberg <waylan@gmail.com> | 2012-08-09 05:47:23 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2012-08-09 05:47:23 -0400 |
commit | b2939d19260aca2a308e2ff5f135d36e5bdecc60 (patch) | |
tree | c2998a7b58b09afd3c48963c635a37a08562ea87 /tests/basic/nested-blockquotes.html | |
parent | 1ff936d015b7eb125bf6bb373246b5b0a7291412 (diff) | |
download | markdown-b2939d19260aca2a308e2ff5f135d36e5bdecc60.tar.gz markdown-b2939d19260aca2a308e2ff5f135d36e5bdecc60.tar.bz2 markdown-b2939d19260aca2a308e2ff5f135d36e5bdecc60.zip |
Improved `Markdown.set_output_format()`
Specificaly, `self.output_format` is defined and contains a string of the
output format used on the instance. This is more useful that an instance
of the searializer when determining alternate behavior elsewhere in the parser.
For example, see Issue #129.
Also cleaned up the error when an invalid format is provided. We now re-raise
the original error (with a custom message) rather than raising a new error.
Diffstat (limited to 'tests/basic/nested-blockquotes.html')
0 files changed, 0 insertions, 0 deletions