Skip to content

Instantly share code, notes, and snippets.

@miau
Created May 16, 2011 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miau/974513 to your computer and use it in GitHub Desktop.
Save miau/974513 to your computer and use it in GitHub Desktop.
module Redmine
module WikiFormatting
module Textile
class Formatter < RedCloth3
def initialize_with_enabling_styles(*args)
initialize_without_enabling_styles(*args)
self.filter_styles = false
end
alias_method_chain :initialize, :enabling_styles
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment