class Bizside::Redmine::TextToTextile

Public Class Methods

convert(text) click to toggle source

NOTE: refs #16729 special symbol for xml

# File lib/bizside/redmine/text_to_textile.rb, line 4
def self.convert(text)
  text.gsub!('<', '&lt;')
  text.gsub!('>', '&gt;')
  text.gsub!('&', '&amp;')
  text
end