Skip to content

Commit 82ca3c3

Browse files
committed
Some extra script tags changed in the docs.
1 parent c0b8e8a commit 82ca3c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/partials/copyright.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@
362362
<div class="_form-thank-you" style="display:none;">
363363
</div>
364364
</form>
365-
<script defer type="text/javascript">
365+
<script defer>
366366
window.cfields = [];
367367
window._show_thank_you = function(id, message, trackcmp_url, email) {
368368
var form = document.getElementById('_form_' + id + '_'), thank_you = form.querySelector('._form-thank-you');

tools/documentation/scripts/content_modifiers/script_tag_modifier.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def _verify_application(line: str):
2121
or excluded_config_script_tag_opening in line \
2222
or excluded_schema_script in line \
2323
or excluded_script_nowprocket_string in line \
24-
or excluded_inline_script_tag_with_no_attibutes in line \
24+
or (excluded_inline_script_tag_with_no_attibutes in line and "const lightbox" not in line) \
2525
or excluded_bundle_script in line:
2626
return False
2727
return True

0 commit comments

Comments
 (0)