I'm working with BootstrapVue.
I have a string like following: Hello / my name / is B0BBY / how / are you ?
Now I want to show this string in a <b-modal> and replace all / (Slash) with a linebreak.. I've tried following:
var newString = actualString.replaceAll(" / ", "\n")
If I console.log this newString it shows in my console with a linebreak. But if I'm using it in my b-modal it shows not with a linebreak, it's all in one line.
I think there is a pretty simple solution for it, but I can't figure it out. Thanks for helping me out!