Line breaks cause <br/> in Textile again
This commit is contained in:
parent
ab60287bad
commit
b9ec3ee4b2
|
@ -27,7 +27,7 @@ module Engines
|
||||||
|
|
||||||
class Textile < AbstractEngine
|
class Textile < AbstractEngine
|
||||||
def mask
|
def mask
|
||||||
RedCloth.new(@content, @content.options[:engine_opts]).to_html(:textile)
|
RedCloth.new(@content, [:hard_breaks] + @content.options[:engine_opts]).to_html(:textile)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ module Engines
|
||||||
|
|
||||||
class Mixed < AbstractEngine
|
class Mixed < AbstractEngine
|
||||||
def mask
|
def mask
|
||||||
RedCloth.new(@content, @content.options[:engine_opts]).to_html
|
RedCloth.new(@content, [:hard_breaks] + @content.options[:engine_opts]).to_html
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue