diff options
Diffstat (limited to 'debian/dh-sphinxdoc/dh_sphinxdoc')
-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 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 |