Permalink
Browse files

Closes #26 when used in conjunction with compatibility methods for va…

…rious core classes
  • Loading branch information...
1 parent 8e1f596 commit d8c1ca4a30df977cd9bfd70b0cca7e1b98562d22 @raganwald raganwald committed Dec 30, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/haml.js
View
@@ -360,7 +360,7 @@ var Haml;
// Collect all text as raw until outdent
if (block) {
- match = block.check_indent(line);
+ match = block.check_indent.exec(line);
if (match) {
block.contents.push(match[1] || "");
return;
@@ -372,7 +372,7 @@ var Haml;
matchers.forEach(function (matcher) {
if (!found) {
- match = matcher.regexp(line);
+ match = matcher.regexp.exec(line);
if (match) {
block = {
contents: [],

0 comments on commit d8c1ca4

Please sign in to comment.