diff --git a/NEWS b/NEWS
index 1a6d7922..b279dfdd 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+ - fix link functionality of html_image, also make
+ output XHTML compatible (Hinrich Donner, Monte)
- append "@" to default modifier vars/args
supress possible warnings (Monte)
- fix problem with escaped double quotes (Monte)
diff --git a/libs/plugins/function.html_image.php b/libs/plugins/function.html_image.php
index 34401dd1..0dd39dd9 100644
--- a/libs/plugins/function.html_image.php
+++ b/libs/plugins/function.html_image.php
@@ -56,7 +56,7 @@ function smarty_function_html_image($params, &$smarty)
$width = $_val;
break;
case 'link':
- $prefix = '';
+ $prefix = '';
$suffix = '';
break;
case 'dpi':
@@ -112,7 +112,7 @@ function smarty_function_html_image($params, &$smarty)
$height = round($height * $_resize);
}
- return $prefix . '
' . $suffix;
+ return $prefix . '
' . $suffix;
}
/* vim: set expandtab: */