Commit 8164d57e authored by wind2009's avatar wind2009

Update escape

parent a2a6d8a0
...@@ -88,8 +88,8 @@ module MSETranslator ...@@ -88,8 +88,8 @@ module MSETranslator
end end
def escape(word) def escape(word)
word = word.gsub "<", "&lt;" word = word.gsub "<", "\\<"
word = word.gsub ">", "&gt;" word = word.gsub ">", "\\>"
word word
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment