mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-07-06 08:37:31 +02:00
Escape page title in pages field
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user