Bringing various things inline with the current state of Rails develolpment
This commit is contained in:
parent
0a63789e61
commit
8de7ca3cee
38 changed files with 204 additions and 5484 deletions
|
@ -1,11 +1,10 @@
|
|||
$: << File.dirname(__FILE__) + "../../libraries"
|
||||
|
||||
require 'redcloth'
|
||||
require 'bluecloth'
|
||||
require 'rdocsupport'
|
||||
require 'chunks/chunk'
|
||||
|
||||
# The markup engines are Chunks that call the one of RedCloth, BlueCloth
|
||||
# The markup engines are Chunks that call the one of RedCloth
|
||||
# or RDoc to convert text. This markup occurs when the chunk is required
|
||||
# to mask itself.
|
||||
module Engines
|
||||
|
@ -39,7 +38,7 @@ module Engines
|
|||
|
||||
class Markdown < AbstractEngine
|
||||
def mask(content)
|
||||
BlueCloth.new(text,content.options[:engine_opts]).to_html
|
||||
RedCloth.new(text,content.options[:engine_opts]).to_html
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue