parent
9a4a53b48d
commit
43835eeaf6
|
@ -244,7 +244,9 @@ module Haml
|
|||
return push flat_script(line.strip!(2), false) if line.text[1] == FLAT_SCRIPT
|
||||
return push plain(line.strip!(1), false) if line.text[1] == ?\s
|
||||
push plain(line)
|
||||
when ESCAPE; push plain(line.strip!(1))
|
||||
when ESCAPE
|
||||
line.text = line.text[1..-1]
|
||||
push plain(line)
|
||||
else; push plain(line)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -24,6 +24,7 @@ stuff followed by whitespace
|
|||
- character
|
||||
%p foo
|
||||
yee\ha
|
||||
don't lstrip me
|
||||
</p>
|
||||
<!-- Short comment -->
|
||||
<!--
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
\- character
|
||||
\%p foo
|
||||
\yee\ha
|
||||
\ don't lstrip me
|
||||
/ Short comment
|
||||
/
|
||||
This is a block comment
|
||||
|
|
Loading…
Reference in New Issue