', 'g');
- postText = postText + originalValue.replace(reg, link);
+
+ postText =
+ postText +
+ originalValue
+ .replace(reg, link)
+ .replace(/
');
}
}
if (postText !== '') {
@@ -392,7 +498,9 @@ class NoticeChoice extends StableSelectorMixin(LitElement) {
}
render() {
return html`
- ${this.preTextTemplate()}
+ ${
+ this.showLegalNotice ? this.countryBasedLegalNotice() : ''
+ } ${this.preTextTemplate()}
${
Object.keys(this.checkboxes).length !== 0
@@ -418,7 +526,9 @@ class NoticeChoice extends StableSelectorMixin(LitElement) {
${this.postTextTemplate()}
-
+