class Startling::Markdown
Public Class Methods
escape(text)
click to toggle source
# File lib/startling/markdown.rb, line 3 def self.escape(text) text.gsub('[', '\[').gsub(']', '\]') end
# File lib/startling/markdown.rb, line 3 def self.escape(text) text.gsub('[', '\[').gsub(']', '\]') end