Permalink
Browse files

Stripping some dead code.

  • Loading branch information...
1 parent 8118091 commit 3526b2213af26b8ec95da785f1ad551dd9c33b39 @pvande pvande committed Mar 6, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/mustache/parser.rb
View
2 lib/mustache/parser.rb
@@ -194,7 +194,7 @@ def scan_tags
# from the beginning of the line, re-insert the padding as static text.
if start_of_line
if @scanner.peek(2) =~ /\r?\n/ && SKIP_WHITESPACE.include?(type)
- @scanner.skip(/[ \t]*\r?\n/)
+ @scanner.skip(/\r?\n/)
else
prev.insert(last_index, [:static, padding]) unless padding.empty?
end

0 comments on commit 3526b22

Please sign in to comment.