Skip to content

Commit

Permalink
Trim inline content.
Browse files Browse the repository at this point in the history
  • Loading branch information
creationix committed Jan 9, 2010
1 parent d69d4d9 commit bc077c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/haml.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ if (exports) {
if (attribs) {
attribs = parse_attribs(attribs);
if (attribs.content) {
this.contents.unshift(attribs.content);
this.contents.unshift(attribs.content.trim());
delete(attribs.content);
}
} else {
Expand Down

0 comments on commit bc077c4

Please sign in to comment.