bug 1190: Use double quoted strings to allow line breaks
authorMichael Tänzer <neo@nhng.de>
Mon, 15 Jul 2013 16:57:52 +0000 (18:57 +0200)
committerMichael Tänzer <neo@nhng.de>
Mon, 15 Jul 2013 16:57:52 +0000 (18:57 +0200)
Signed-off-by: Michael Tänzer <neo@nhng.de>
pages/index/0.php

index 7e118eb..a2c2e5a 100644 (file)
@@ -55,9 +55,9 @@
                $nodeList = $xpath->query($query, $item);
                $description = recode_string("UTF8..html" , $nodeList->item(0)->nodeValue);
 
-               printf('<h3> %s </h3>\n', $title);
-               printf('<p> %s </p>\n', $description);
-               printf('<p>[<a href="%s"> %s </a> ] </p>\n\n', $link,_("Full Story"));
+               printf("<h3> %s </h3>\n", $title);
+               printf("<p> %s </p>\n", $description);
+               printf("<p>[<a href=\"%s\"> %s </a> ] </p>\n\n", $link,_("Full Story"));
 
                $title = '';
                $description = '';