diff --git a/extras/htmlfilter.php b/extras/htmlfilter.php
index 7a4e09586..5ac7d13c5 100644
--- a/extras/htmlfilter.php
+++ b/extras/htmlfilter.php
@@ -404,8 +404,7 @@ function tln_getnxtag($body, $offset)
* If it's ">" it will be caught at the top.
*/
$attval = preg_replace('/\"/s', '"', $attval);
- $attary{$attname} = '"' . $attval . '"';
- }
+ $attary{$attname} = '"' . $attval . '"';
}
} elseif (preg_match('|[\w/>]|', $char)) {
/**