1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

add autoescapding disable to banner.html

update CHANGES
bump version to 2.6.0b2
This commit is contained in:
Ilya Kreymer 2021-06-17 17:38:40 -07:00
parent f9f5d2dc33
commit 3ca765f847
4 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,11 @@
pywb 2.6.0b2 changelist
~~~~~~~~~~~~~~~~~~~~~~~
* Update documentation for CDX Server API (by @sebastian-nagel) `#651 <https://github.com/webrecorder/pywb/pull/651>`_
* Ensure banner template is not autoescaped
pywb 2.6.0b1 changelist pywb 2.6.0b1 changelist
~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -17,3 +17,6 @@ enable_memento: true
# Replay content in an iframe # Replay content in an iframe
framed_replay: true framed_replay: true
locales:
- en
- es

View File

@ -1,4 +1,5 @@
{% if not env.pywb_proxy_magic or config.proxy.enable_banner | default(true) %} {% if not env.pywb_proxy_magic or config.proxy.enable_banner | default(true) %}
{% autoescape false %}
<script> <script>
window.banner_info = { window.banner_info = {
is_gmt: true, is_gmt: true,
@ -24,5 +25,5 @@ window.banner_info = {
<script src='{{ static_prefix }}/default_banner.js'> </script> <script src='{{ static_prefix }}/default_banner.js'> </script>
<link rel='stylesheet' href='{{ static_prefix }}/default_banner.css'/> <link rel='stylesheet' href='{{ static_prefix }}/default_banner.css'/>
{% endautoescape %}
{% endif %} {% endif %}

View File

@ -1,4 +1,4 @@
__version__ = '2.6.0b1' __version__ = '2.6.0b2'
if __name__ == '__main__': if __name__ == '__main__':
print(__version__) print(__version__)