diff options
| author | Georg Brandl <georg@python.org> | 2009-09-07 23:37:22 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2009-09-07 23:37:22 +0200 |
| commit | d7efd6a03f20f128aa3eda81f038f2f6e370429b (patch) | |
| tree | 2e9fc06c613e6fc116b255696b7cc9292745976b | |
| parent | 2b0b9e35471171a14b9cbcc6f56c54a4fc62d5d2 (diff) | |
| download | sphinx-d7efd6a03f20f128aa3eda81f038f2f6e370429b.tar.gz | |
util: fix explicit_title_re to allow newlines.
| -rw-r--r-- | sphinx/util/__init__.py | 2 |
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>.+)://.*') |
