Address the issue #1572 (#1581)

* Add double-quote to data-file-path={{url}}
This commit is contained in:
Watal M. Iwasaki
2020-06-15 19:02:32 +09:00
committed by GitHub
parent 8e7a714991
commit a4266170ea
+2 -2
View File
@@ -16,9 +16,9 @@
{{#files_folders}}
<li class="Box-row">
<span class="pr-2">{{{icon}}}</span>
<span><a href={{url}}>{{name}}</a></span>
<span><a href="{{url}}">{{name}}</a></span>
{{#allow_editing}}
{{#is_file}}<button class="btn btn-sm float-right delete-file" data-file-path={{url}} data-confirm="Are you sure you want to delete {{name}}?">{{#octicon}}trashcan{{/octicon}}</button>{{/is_file}}
{{#is_file}}<button class="btn btn-sm float-right delete-file" data-file-path="{{url}}" data-confirm="Are you sure you want to delete {{name}}?">{{#octicon}}trashcan{{/octicon}}</button>{{/is_file}}
{{/allow_editing}}
</li>
{{/files_folders}}