Class: Bizside::Redmine::TextToTextile
- Inherits:
-
Object
- Object
- Bizside::Redmine::TextToTextile
- Defined in:
- lib/bizside/redmine/text_to_textile.rb
Class Method Summary collapse
-
.convert(text) ⇒ Object
NOTE: refs #16729 special symbol for xml.
Class Method Details
.convert(text) ⇒ Object
NOTE: refs #16729 special symbol for xml
4 5 6 7 8 9 |
# File 'lib/bizside/redmine/text_to_textile.rb', line 4 def self.convert(text) text.gsub!('<', '<') text.gsub!('>', '>') text.gsub!('&', '&') text end |