Escape page title in pages field

This commit is contained in:
Matias Griese
2020-11-16 15:41:16 +02:00
parent b9ac46fd13
commit d01c9599bd
2 changed files with 2 additions and 1 deletions

View File

@@ -6,6 +6,7 @@
* Allow to fallback to `docs:` instead of `readme:`
* Backported finder/pages navigation from 1.10 (you will still need 1.10 for the fancy Parent Picker)
* Forward a `sid` to GPM when downloading a premium package
* Escape page title in `pages` field
# v1.9.17
## 10/07/2020

View File

@@ -10,7 +10,7 @@
{% endif %}
{% for page_route, option in pages_list %}
<option {% if page_route == value or (field.multiple and page_route in value) %}selected="selected"{% endif %} value="{{ page_route }}">{{ option|raw }}</option>
<option {% if page_route == value or (field.multiple and page_route in value) %}selected="selected"{% endif %} value="{{ page_route }}">{{ option }}</option>
{% endfor %}
{% endmacro %}