summaryrefslogtreecommitdiff
path: root/sphinx/util
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-09-07 23:37:22 +0200
committerGeorg Brandl <georg@python.org>2009-09-07 23:37:22 +0200
commitd7efd6a03f20f128aa3eda81f038f2f6e370429b (patch)
tree2e9fc06c613e6fc116b255696b7cc9292745976b /sphinx/util
parent2b0b9e35471171a14b9cbcc6f56c54a4fc62d5d2 (diff)
downloadsphinx-d7efd6a03f20f128aa3eda81f038f2f6e370429b.tar.gz
util: fix explicit_title_re to allow newlines.
Diffstat (limited to 'sphinx/util')
-rw-r--r--sphinx/util/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/__init__.py b/sphinx/util/__init__.py
index 87b08095..2b563018 100644
--- a/sphinx/util/__init__.py
+++ b/sphinx/util/__init__.py
@@ -28,7 +28,7 @@ import sphinx
# Generally useful regular expressions.
ws_re = re.compile(r'\s+')
-explicit_title_re = re.compile('^(.+?)\s*<(.*?)>$')
+explicit_title_re = re.compile('^(.+?)\s*<(.*?)>$', re.DOTALL)
caption_ref_re = explicit_title_re # b/w compat alias
url_re = re.compile(r'(?P<schema>.+)://.*')