Skip to content

Commit 6d54439

Browse files
chore: [autoapprove] update readme_gen.py to include autoescape True (#369)
Source-Link: googleapis/synthtool@6b4d5a6 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:f792ee1320e03eda2d13a5281a2989f7ed8a9e50b73ef6da97fac7e1e850b149 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 9bd9026 commit 6d54439

File tree

1 file changed

+4
-1
lines changed
  • packages/google-cloud-python-speech/scripts/readme-gen

1 file changed

+4
-1
lines changed

packages/google-cloud-python-speech/scripts/readme-gen/readme_gen.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@
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)