Fixed blank pages when path contains quotes

This commit is contained in:
Chris Kankiewicz
2020-02-01 23:32:17 -07:00
parent 983d050476
commit 9c2a5f060e

View File

@@ -20,7 +20,7 @@
<button
title="File Info"
class="flex justify-center items-center rounded-full p-2 -m-1 md:invisible hover:bg-gray-400 hover:shadow group-hover:visible"
v-on:click.prevent="showFileInfo('{{ file.getPathname }}')"
v-on:click.prevent="showFileInfo('{{ file.getPathname | escape('js') }}')"
>
<i class="fas fa-info-circle"></i>
</button>