diff --git a/FAQ.md b/FAQ.md index 02078d47..efa4bc85 100644 --- a/FAQ.md +++ b/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. diff --git a/test/parser_test.rb b/test/parser_test.rb index 25320812..e73a54d5 100644 --- a/test/parser_test.rb +++ b/test/parser_test.rb @@ -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"