Skip to content

Loading…

Trim lines in dyna-rules during export. #1465

Open
wants to merge 1 commit into from

1 participant

Commits on Jun 23, 2015
  1. @jamesoff
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/js/dyna-rules.js
View
2 src/js/dyna-rules.js
@@ -160,7 +160,7 @@ var rulesFromHTML = function(selector) {
if ( li.hasClassName('toRemove') ) {
rules.push('');
} else {
- rules.push(li.text());
+ rules.push(li.text().trim());
}
}
return rules.join('\n');
Something went wrong with that request. Please try again.