7ee2c32
1
2
3
4
export function cleanAttribute(attribute: string) { return attribute ? attribute.replace(/(\n+\s*)+/g, '\n') : ''; }