An extra insignificant newline is added between the last text and the embedded json
Closed this issue · 0 comments
t2ym commented
At the beginning of the embedded JSON that is wrapped by <template id="localizable-text">
, an extra insignificant newline is added just for prettiness of the preprocessed template. This extra newline causes some test failures in exactly matching textContent strings.
Current newline insertion for pretty looking:
<br>{{text.text_15}}
<template id="localizable-text">
<json-data>
...
Fix to eliminate undesirable side-effects in tests:
<br>{{text.text_15}}<template id="localizable-text">
<json-data>
...