mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Merge pull request #254 from alphagov/placeholder-preview-html-fix
Fix bug with ‘ghost’ links in template textbox
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
};
|
||||
|
||||
this.update = () => this.$backgroundMaskForeground.html(
|
||||
this.$textbox.val().replace(
|
||||
$('<div/>').text(this.$textbox.val()).html().replace(
|
||||
tagPattern, match => `<span class='tag'>${match}</span>`
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user