summaryrefslogtreecommitdiff
path: root/smartypants.py
diff options
context:
space:
mode:
authorYu-Jie Lin <livibetter@gmail.com>2013-08-18 14:28:10 +0800
committerYu-Jie Lin <livibetter@gmail.com>2013-08-18 14:28:10 +0800
commit8141e0b553a39f03af332c58fb78af8eb1b65253 (patch)
tree09ee0cb3cbe32affd1aedf04a5d26c5af7dfdfa5 /smartypants.py
parent40b0e633f87c39b8cc527c6acd1009d250c005da (diff)
downloadsmartypants-8141e0b553a39f03af332c58fb78af8eb1b65253.tar.gz
fix doctest for samp
Diffstat (limited to 'smartypants.py')
-rwxr-xr-xsmartypants.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/smartypants.py b/smartypants.py
index 9b0df5b..049ace8 100755
--- a/smartypants.py
+++ b/smartypants.py
@@ -66,7 +66,7 @@ def _tags_to_skip_regex(tags=None):
>>> f = _tags_to_skip_regex
>>> print(f().pattern)
- <(/)?(pre|code|tt|kbd|script|math)[^>]*>
+ <(/)?(pre|samp|code|tt|kbd|script|math)[^>]*>
>>> print(f(['foo', 'bar']).pattern)
<(/)?(foo|bar)[^>]*>
"""