Typos
This commit is contained in:
parent
f6e8e25960
commit
cb73b66b82
2
FAQ.md
2
FAQ.md
|
@ -6,7 +6,7 @@
|
|||
|
||||
To improve performance, Haml defaults to {Haml::Options#ugly "ugly" mode} in
|
||||
Rails apps running in production. Ugly mode is when whitespace is stripped out,
|
||||
and this *can* cause issues occassionally.
|
||||
and this *can* cause issues occasionally.
|
||||
|
||||
If you are using Rails, you can change the default behaviour by creating a config/initializers/haml.rb file and
|
||||
adding in the following line.
|
||||
|
|
|
@ -122,7 +122,7 @@ module Haml
|
|||
assert_equal(3, node.children.size)
|
||||
end
|
||||
|
||||
# see #830. Strictly speaking the pipe here is not neccesary, but there
|
||||
# see #830. Strictly speaking the pipe here is not necessary, but there
|
||||
# shouldn't be an error if it is there.
|
||||
test "multiline Ruby with extra trailing pipe doesn't raise error" do
|
||||
haml = "%p= foo bar, |\n baz"
|
||||
|
|
Loading…
Reference in New Issue