Skip to content
Snippets Groups Projects
Commit 0ddbc813 authored by Thomas Lake's avatar Thomas Lake :wrench:
Browse files

Escape things!

parent 1c9d937e
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@
<div class="box">
<div class="boxhead"><h2>{$book.title}</h2></div>
<div class="boxcontent">
{if $book.image_url != ""}<img class="emblem" src="{$book.image_url}" alt="{$book.title}" />{/if}
{if $book.image_url != ""}<img class="emblem" src="{$book.image_url|escape}" alt="{$book.title|escape}" />{/if}
<p>{$book.author}</p>
<p>{$book.description}</p>
{if $book.onloan}<p>On loan</p>{else}<p>Book Available</p>{/if}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment