Skip to content

Commit 6b4d5a6

Browse files
authored
chore: [autoapprove] update readme_gen.py to include autoescape True (#1429)
1 parent d129e25 commit 6b4d5a6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

synthtool/gcp/templates/python_library/scripts/readme-gen/readme_gen.py.j2

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ import yaml
2828
jinja_env = jinja2.Environment(
2929
trim_blocks=True,
3030
loader=jinja2.FileSystemLoader(
31-
os.path.abspath(os.path.join(os.path.dirname(__file__), 'templates'))))
31+
os.path.abspath(os.path.join(os.path.dirname(__file__), "templates"))
32+
),
33+
autoescape=True,
34+
)
3235

3336
README_TMPL = jinja_env.get_template('README.tmpl.rst')
3437

0 commit comments

Comments
 (0)