html2haml --rhtml shouldn't add semicolons for multiline <%= %> blocks.
This breaks when there are actually multiple statments, but that occurs very rarely.
This commit is contained in:
parent
37fc2c2ba2
commit
1a23b54d3b
|
@ -169,7 +169,7 @@ module Haml
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.haml_tag_loud(text)
|
def self.haml_tag_loud(text)
|
||||||
"= #{text.gsub(/\n\s*/, '; ').strip}\n"
|
"= #{text.gsub(/\n\s*/, ' ').strip}\n"
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.haml_tag_silent(text)
|
def self.haml_tag_silent(text)
|
||||||
|
|
Loading…
Reference in New Issue