module Flowcation::Render
Public Class Methods
sanitize(s)
click to toggle source
# File lib/flowcation/render.rb, line 3 def self.sanitize(s) s. gsub("%>", "%>"). gsub("<%", "<%"). gsub("\r\n", "\n"). gsub("%20", " "). gsub("&", "&"). gsub("=>", "=>"). gsub("->", "->"). gsub(">", ">"). gsub("<", "<") end