Trim whitespace
This commit is contained in:
		| @@ -21,7 +21,7 @@ export class DirectiveParser extends AbstractTemplateParser implements ParserInt | ||||
| 			.each((i: number, element: CheerioElement) => { | ||||
| 				const $element = $(element); | ||||
| 				const attr = $element.attr('translate'); | ||||
| 				const text = $element.text(); | ||||
| 				const text = $element.text().trim(); | ||||
|  | ||||
| 				if (attr) { | ||||
| 					results.push(attr); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user