If a manager posts a multi-line description (i.g. for special opening hours during holidays), that text is displayed on a single line on the fridge details page.
We have to detect a line break in the form and replace it with a \n to fix this.
PS: Be careful not to expose the app to XSS attacks (i.e. don't use v-html property)
If a manager posts a multi-line description (i.g. for special opening hours during holidays), that text is displayed on a single line on the fridge details page.
We have to detect a line break in the form and replace it with a \n to fix this.
PS: Be careful not to expose the app to XSS attacks (i.e. don't use v-html property)