Patch #754 ยป textile_comments.diff
| lib/redmine/wiki_formatting.rb (working copy) | ||
|---|---|---|
| 162 | 162 |
public |
| 163 | 163 |
|
| 164 | 164 |
def self.to_html(text, options = {}, &block)
|
| 165 |
text.gsub!(/<!--[^-]*-->/,'') |
|
| 165 | 166 |
TextileFormatter.new(text).to_html(&block) |
| 166 | 167 |
end |
| 167 | 168 |
end |