Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

chore: [autoapprove] update readme_gen.py to include autoescape True #144

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
digest: sha256:bc5eed3804aec2f05fad42aacf973821d9500c174015341f721a984a0825b6fd
# created: 2022-04-21T15:43:16.246106921Z
digest: sha256:f792ee1320e03eda2d13a5281a2989f7ed8a9e50b73ef6da97fac7e1e850b149
# created: 2022-05-05T15:17:27.599381182Z
5 changes: 4 additions & 1 deletion scripts/readme-gen/readme_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
jinja_env = jinja2.Environment(
trim_blocks=True,
loader=jinja2.FileSystemLoader(
os.path.abspath(os.path.join(os.path.dirname(__file__), 'templates'))))
os.path.abspath(os.path.join(os.path.dirname(__file__), "templates"))
),
autoescape=True,
)

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

Expand Down