X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=3a720b6095ba39c3c4965c448fd3ff21868aec8c;hb=a404c9c2b1908f4b9181d8e60f11b846812757fb;hp=7dd4c29361051110f3f88aab7f9f9cc6e2164ffe;hpb=0e8f7804ce344bdd69f5ecc7febe25a60a53561d;p=Sone.git diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index 7dd4c29..3a720b6 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -244,7 +244,7 @@ var albumDescriptionField = getAlbum(data.albumId).find(".album-description"); if (data.success) { albumTitleField.text(data.title); - albumDescriptionField.text(data.description); + albumDescriptionField.html(data.description); getAlbum(data.albumId).find(":input[name='title']").attr("defaultValue", title); getAlbum(data.albumId).find(":input[name='description']").attr("defaultValue", description); } else { @@ -341,7 +341,7 @@ <%/foreach> -
<% album.description|parse sone=album.sone>
+<% album.description|parse sone=album.sone|render>
<%if album.sone.local> @@ -391,51 +391,46 @@ <%first><%image.description|parse sone=image.sone>
+<%image.description|parse sone=image.sone|render>
<%if image.sone.local> @@ -614,32 +609,19 @@ <%first>