summaryrefslogtreecommitdiffstats
path: root/debian/dh-sphinxdoc/dh_sphinxdoc
diff options
context:
space:
mode:
Diffstat (limited to 'debian/dh-sphinxdoc/dh_sphinxdoc')
-rwxr-xr-xdebian/dh-sphinxdoc/dh_sphinxdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/dh-sphinxdoc/dh_sphinxdoc b/debian/dh-sphinxdoc/dh_sphinxdoc
index ccd4a5a..fb74e9c 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)?>};
+ 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