diff options
author | Waylan Limberg <waylan@gmail.com> | 2012-03-21 10:13:05 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2012-03-21 10:13:05 -0400 |
commit | b3e0359421ee0a649975ca29635ac8c0d7cf7641 (patch) | |
tree | c69522a2ec75e7a8a515c4d698613185bc2560c1 /tests/misc/ampersand.txt | |
parent | 4dd11abae221fdd76d863487fac16ee45b05c96b (diff) | |
download | markdown-b3e0359421ee0a649975ca29635ac8c0d7cf7641.tar.gz markdown-b3e0359421ee0a649975ca29635ac8c0d7cf7641.tar.bz2 markdown-b3e0359421ee0a649975ca29635ac8c0d7cf7641.zip |
Allow blockprocessor.run to return True or False.
This allows the run method to determine if a block is or is not a match in the
midst of parsing outside of the test method. The goal is to eliminate the
often redundant test method in the future. In the interim, it remains and
if the run method returns None, the existing behavior is maintained. Returning
None may generate a DepreciationWarning later. Note that test must still return
True to even get to the run method.
Diffstat (limited to 'tests/misc/ampersand.txt')
0 files changed, 0 insertions, 0 deletions