We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 5ede4fb7 authored by tobyink's avatar tobyink

htmlentities

parent f9db317c
......@@ -43,8 +43,8 @@
<!-- We should try to make this list work like the gobbles list. -->
<dl class='now-playing'>
{section name=i loop=$nowplaying}
<dt class='track-name'>{$nowplaying[i].track}</dt>
<dd>by <span class='artist-name'><a href='{$nowplaying[i].artisturl}'>{$nowplaying[i].artist}</a></span></dd>
<dt class='track-name'>{$nowplaying[i].track|htmlentities}</dt>
<dd>by <span class='artist-name'><a href='{$nowplaying[i].artisturl}'>{$nowplaying[i].artist|htmlentities}</a></span></dd>
<dd>with <span class='gobbler'>{$nowplaying[i].clientstr}</span></dd>
{/section}
</dl>
......@@ -69,9 +69,9 @@
<div rel="foaf:maker" class="contributor vcard">
<a about="{$scrobbles[i].id_artist}" typeof="mo:MusicArtist" property="foaf:name" rel="foaf:page"
class="fn url" href="{$scrobbles[i].artisturl}"
>{$scrobbles[i].artist}</a>
>{$scrobbles[i].artist|htmlentities}</a>
</div>
<div><a class="fn" property="dc:title" rel="foaf:page" href="{$scrobbles[i].trackurl}">{$scrobbles[i].track}</a></div>
<div><a class="fn" property="dc:title" rel="foaf:page" href="{$scrobbles[i].trackurl}">{$scrobbles[i].track|htmlentities}</a></div>
<small about="{$scrobbles[i].id}" property="dc:date" content="{$scrobbles[i].timeiso}" datatype="xsd:dateTime">{$scrobbles[i].timehuman}</small>
</div>
</li>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment