diff --git a/web/src/components/inputs/FormatedText.vue b/web/src/components/inputs/FormatedText.vue index 89dee51..68eac41 100644 --- a/web/src/components/inputs/FormatedText.vue +++ b/web/src/components/inputs/FormatedText.vue @@ -25,7 +25,7 @@ export default { methods: { rawhtml(value) { if (typeof this.format === 'function') { - return this.format(value.replace(/ /g, ' ')); + return this.format(value).replace(/ /g, ' '); } else { return value; }