Replace string.replaceAll due to bad support
This commit is contained in:
parent
9627837e40
commit
659ae0a641
|
@ -0,0 +1,12 @@
|
|||
<script>
|
||||
export let value
|
||||
$:
|
||||
</script>
|
||||
|
||||
<div>
|
||||
|
||||
</div>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
|
@ -26,9 +26,7 @@
|
|||
}
|
||||
|
||||
$: inputs = enrichInputs(block.inputs)
|
||||
$: tagline = block.tagline
|
||||
.replaceAll("{{", "<b>{{")
|
||||
.replaceAll("}}", "}}</b>")
|
||||
$: tagline = block.tagline.replace(/{{/g, "<b>{{").replace(/}}/, "}}</b>")
|
||||
</script>
|
||||
|
||||
<div
|
||||
|
|
Loading…
Reference in New Issue