Skip to content
Snippets Groups Projects
Commit ab86d6d3 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

style

parent 3fb55e97
No related branches found
No related tags found
No related merge requests found
......@@ -78,8 +78,8 @@ module Admin::ApplicationHelper
text = text.to_s.dup
text = strip_tags text
text = text.strip
text = text.gsub("\r\n", "\n") # Remove useless \r
text = text.gsub("\n", "\n#{indentation}") # Indent properly to avoid broken frontmatter
text = text.gsub "\r\n", "\n" # Remove useless \r
text = text.gsub "\n", "\n#{indentation}" # Indent properly to avoid broken frontmatter
text = text.chomp # Remove extra newlines
CGI.unescapeHTML text
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment