Closed Havunen closed 8 years ago
Well spotted, I'll try and address it today once I get some time.
Can you let me know if this issues still occurs?
issue still exists
some example output from the plugin:
children: [' ', {
tag: 'img',
attrs: {
height: '58',
src: 'img/visma_logo.svg',
alt: 'visma'
}
}, ' ', {
and
return {
tag: 'div',
attrs: {
class: 'login-view bg-visma'
},
children: [' ', v0, ' ']
};
this quick hack fixed it before:
var testForEmpty = str.trim();
if (testForEmpty.length === 0) {
str = testForEmpty;
}
This issue has been fixed, closing ticket.
Hi,
In our project we use space as indentation which leads to an issue that HandleWhiteSpace function never removes the whitespace.
Steps to reproduce:
Sidenote: Should this function also handle Windows ('\r\n') and Mac ('\r') style of line endings?
Havunen