Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Stripping some dead code.

  • Loading branch information...
commit 3526b2213af26b8ec95da785f1ad551dd9c33b39 1 parent 8118091
Pieter van de Bruggen pvande authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/mustache/parser.rb
2  lib/mustache/parser.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.