Commit a2a6d8a0 authored by wind2009's avatar wind2009

Update escape

parent 22afed3b
......@@ -88,8 +88,8 @@ module MSETranslator
end
def escape(word)
word = word.gsub "<", ""
word = word.gsub ">", ""
word = word.gsub "<", "&lt;"
word = word.gsub ">", "&gt;"
word
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