We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents af8341e + b92d259 commit 5b2faf5Copy full SHA for 5b2faf5
src/staging/project_setup.py
@@ -17,12 +17,12 @@
17
18
USERS_FOR_STAGING = ["avicenzi"]
19
20
-META_TEMPLATE = jinja2.Template("""<project name="{{ project_name }}">
+META_TEMPLATE = jinja2.Environment(autoescape=True).from_string("""<project name="{{ project_name }}">
21
<title>{{ project_title }}</title>
22
{% if project_description %} <description>{{ project_description }}</description>{% else %} <description/>{% endif %}
23
{% for user in maintainers %} <person userid="{{ user }}" role="maintainer"/>
24
{% endfor %}{% if extra_header %}
25
-{{ extra_header }}{% endif %}
+{{ extra_header | safe }}{% endif %}
26
<build>
27
<enable/>
28
</build>
0 commit comments