librefm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Librefm-commits] [1720] Fix for bug #26573: Quote cuts short album titl


From: Toby Inkster
Subject: [Librefm-commits] [1720] Fix for bug #26573: Quote cuts short album title in RDF feed
Date: Mon, 18 May 2009 18:51:31 +0000

Revision: 1720
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1720
Author:   tobyink
Date:     2009-05-18 18:51:31 +0000 (Mon, 18 May 2009)
Log Message:
-----------
Fix for bug #26573: Quote cuts short album title in RDF feed

Ticket Links:
:-----------
    http://savannah.gnu.org/bugs/?26573

Modified Paths:
--------------
    trunk/nixtape/themes/librefm/templates/user-recent-tracks.tpl

Modified: trunk/nixtape/themes/librefm/templates/user-recent-tracks.tpl
===================================================================
--- trunk/nixtape/themes/librefm/templates/user-recent-tracks.tpl       
2009-05-18 18:25:07 UTC (rev 1719)
+++ trunk/nixtape/themes/librefm/templates/user-recent-tracks.tpl       
2009-05-18 18:51:31 UTC (rev 1720)
@@ -33,7 +33,7 @@
                        <div><a class="fn" property="dc:title" rel="foaf:page" 
href="{$scrobbles[i].trackurl|escape:'html':'UTF-8'}">{$scrobbles[i].track|escape:'html':'UTF-8'}</a></div>
                        <small about="{$scrobbles[i].id|escape:'html':'UTF-8'}" 
property="dc:date" content="{$scrobbles[i].timeiso}" datatype="xsd:dateTime" 
title="{$scrobbles[i].timeiso}">{$scrobbles[i].timehuman}</small>
                        <span about="{$scrobbles[i].id|escape:'html':'UTF-8'}" 
property="rss:link" content="{$scrobbles[i].trackurl|escape:'html':'UTF-8'}">
-                               <span property="rss:description" content="{if 
$scrobbles[i].album}{$scrobbles[i].album}{else}Unknown album{/if}">
+                               <span property="rss:description" content="{if 
$scrobbles[i].album}{$scrobbles[i].album|escape:'html':'UTF-8'}{else}{t}Unknown 
album{/t}{/if}">
                                        <span property="rss:title" 
content="{$scrobbles[i].artist|escape:'html':'UTF-8'}: 
{$scrobbles[i].track|escape:'html':'UTF-8'}" 
rev="rdf:_{$smarty.section.i.index_next}" resource="[_:seq1]"></span>
                                </span>
                        </span>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]