diff options
| author | Georg Brandl <georg@python.org> | 2009-09-13 07:36:39 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2009-09-13 07:36:39 +0000 |
| commit | 4d0f8983fe2fdcd9761a8526f9657691a5f191d0 (patch) | |
| tree | 4a9da6efca12833adac76cb4de2ab07c01054d00 /sphinx | |
| parent | 3b493551a23391f63ff90ab51da8ae98280ab721 (diff) | |
| download | sphinx-4d0f8983fe2fdcd9761a8526f9657691a5f191d0.tar.gz | |
Port fix of explicit title RE from domains branch.
Diffstat (limited to 'sphinx')
| -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 50c5bd3f..2d86c5f7 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>.+)://.*') |
