aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc/h1.html
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2012-08-09 05:47:23 -0400
committerWaylan Limberg <waylan@gmail.com>2012-08-09 05:47:23 -0400
commitb2939d19260aca2a308e2ff5f135d36e5bdecc60 (patch)
treec2998a7b58b09afd3c48963c635a37a08562ea87 /tests/misc/h1.html
parent1ff936d015b7eb125bf6bb373246b5b0a7291412 (diff)
downloadmarkdown-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/misc/h1.html')
0 files changed, 0 insertions, 0 deletions