Escape html in blame
[gitphp.git] / templates / blame.tpl
blob:a/templates/blame.tpl -> blob:b/templates/blame.tpl
--- a/templates/blame.tpl
+++ b/templates/blame.tpl
@@ -71,7 +71,7 @@
 			{/if}
 			</td>
 			<td class="author">{if $smarty.foreach.linegroup.first}{$blameitem.commitdata.author}{/if}</td>
-			<td class="codeline">{$blameline}</td>
+			<td class="codeline">{$blameline|escape}</td>
 		</tr>
 		{/foreach}
 	{/foreach}

comments