Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

fixed #53 #54

Merged
merged 1 commit into from Dec 15, 2012
Jump to file or symbol
Failed to load files and symbols.
+3 −3
Split
View
@@ -334,7 +334,7 @@ var Haml;
process: function () {
this.contents.unshift(this.matches[2]);
- return '"<!--'+this.contents.join('\\n')+'-->"';
+ return '"<!--'+this.contents.join('\\n').replace(/\"/g, '\\"')+'-->"';
}
},
View
@@ -11,4 +11,4 @@
but not in the final HTML
*/
/ This should be a Haml comment
- and it should be in the resulting html
+ and it should be in the resulting html (even with "double quotes")
View
@@ -1,2 +1,2 @@
<div class="display-this"></div>2<!--This should be a Haml comment
-and it should be in the resulting html-->
+and it should be in the resulting html (even with "double quotes")-->