Skip to content

Commit dc1a0cf

Browse files
chore: [autoapprove] update readme_gen.py to include autoescape True (googleapis#455)
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 ba875a6 commit dc1a0cf

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/.OwlBot.lock.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
16-
digest: sha256:bc5eed3804aec2f05fad42aacf973821d9500c174015341f721a984a0825b6fd
17-
# created: 2022-04-21T15:43:16.246106921Z
16+
digest: sha256:f792ee1320e03eda2d13a5281a2989f7ed8a9e50b73ef6da97fac7e1e850b149
17+
# created: 2022-05-05T15:17:27.599381182Z

scripts/readme-gen/readme_gen.py

+4-1
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)