From a8b230a490b873d1bc89ccc2d905740aff91236a Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Sun, 2 Sep 2012 22:22:01 +0200 Subject: [PATCH] Properly escape TeX data. --- lib/gollum/tex.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gollum/tex.rb b/lib/gollum/tex.rb index 9355f186..5612b116 100644 --- a/lib/gollum/tex.rb +++ b/lib/gollum/tex.rb @@ -8,7 +8,7 @@ module Gollum def self.to_html(tex, type = :inline) tex_uri = EscapeUtils.escape_uri(tex) tex_alt = EscapeUtils.escape_html(tex) - %{#{tex_alt}} + %{#{tex_alt}} end end end