Skip to content

Commit a8e8d6f

Browse files
te007 is back online
1 parent 7a8cfc6 commit a8e8d6f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

yaml_ld/parse.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ def _parse_html(
4646
))
4747

4848
if not html_yaml_scripts:
49+
if extract_all_scripts:
50+
return []
51+
4952
raise NoYAMLWithinHTML()
5053

5154
if extract_all_scripts:

0 commit comments

Comments
 (0)