This commit is contained in:
Akira Matsuda 2017-02-10 19:40:46 +09:00
parent f6e8e25960
commit cb73b66b82
2 changed files with 2 additions and 2 deletions

2
FAQ.md
View File

@ -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.

View File

@ -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"