Browse Source

fixed CWE-79 on docs.py

pull/13887/head
Luca Paterlini 2 days ago
parent
commit
2728c26e02
  1. 2
      scripts/docs.py

2
scripts/docs.py

@ -169,7 +169,7 @@ def generate_readme_content() -> str:
frontmatter_end = match_pre.end()
pre_end = match_start.end()
post_start = match_end.start()
template = Template(index_sponsors_template)
template = Template(index_sponsors_template, autoescape=True)
message = template.render(sponsors=sponsors)
pre_content = content[frontmatter_end:pre_end]
post_content = content[post_start:]

Loading…
Cancel
Save