File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ <h3 class="m-0">{{ doc.name }}</h3>
140140 < div class ="col-sm-12 ">
141141 {% for attachment in attachments %}
142142 < p class ="small ">
143- < a href ="{{ attachment.file_url }} " target ="blank "> {{ attachment.file_name }} </ a >
143+ < a href ="{{ attachment.file_url|e }} " target ="blank "> {{ attachment.file_name|e }} </ a >
144144 </ p >
145145 {% endfor %}
146146 </ div >
Original file line number Diff line number Diff line change @@ -82,11 +82,11 @@ <h4>{{ _("Attachments") }}</h4>
8282 < div class ="project-attachments ">
8383 {% for attachment in doc.attachments %}
8484 < div class ="attachment ">
85- < a class ="no-decoration attachment-link " href ="{{ attachment.file_url }} " target ="blank ">
85+ < a class ="no-decoration attachment-link " href ="{{ attachment.file_url|e }} " target ="blank ">
8686 < div class ="row ">
8787 < div class ="col-xs-9 ">
8888 < span class ="indicator red file-name ">
89- {{ attachment.file_name }}</ span >
89+ {{ attachment.file_name|e }}</ span >
9090 </ div >
9191 < div class ="col-xs-3 ">
9292 < span class ="pull-right file-size "> {{ attachment.file_size }}</ span >
You can’t perform that action at this time.
0 commit comments