Commit 8164d57e authored by wind2009's avatar wind2009

Update escape

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