Commit b645c123 authored by wind2009's avatar wind2009

update escape

parent 8164d57e
......@@ -88,8 +88,9 @@ module MSETranslator
end
def escape(word)
word = word.gsub "<", "\\<"
word = word.gsub ">", "\\>"
word = word.gsub "<", "<"
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