diff options
Diffstat (limited to '')
-rwxr-xr-x | debian/dh-sphinxdoc/dh_sphinxdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/dh-sphinxdoc/dh_sphinxdoc b/debian/dh-sphinxdoc/dh_sphinxdoc index 30d9b88..5881372 100755 --- a/debian/dh-sphinxdoc/dh_sphinxdoc +++ b/debian/dh-sphinxdoc/dh_sphinxdoc @@ -290,7 +290,7 @@ sub sanity_check($$) } } defined $documentation_options or error("DOCUMENTATION_OPTIONS not found"); - my $loads_searchindex = $search =~ m{<script(?: type="text/javascript")? src="[^"]*searchindex.js\s?"(?: defer(?:="defer"))?>}; + my $loads_searchindex = $search =~ m{<script(?: type="text/javascript")? src="[^"]*searchindex.js\s?"(?: defer(?:="defer")?)?>}; unless ($loads_searchindex) { # old style, used before Sphinx 2.0 |