diff --git a/webapp/components/ContributionForm/ContributionForm.vue b/webapp/components/ContributionForm/ContributionForm.vue
index b506305db..5b1040b62 100644
--- a/webapp/components/ContributionForm/ContributionForm.vue
+++ b/webapp/components/ContributionForm/ContributionForm.vue
@@ -10,7 +10,7 @@
/>
- {{ form.title.length }}/{{formSchema.title.max }}
+ {{ form.title.length }}/{{ formSchema.title.max }}
- {{ form.contentLength }}/{{content_max }}
+ {{ form.contentLength }}/{{ content_max }}
]+(>|$)/gm, '')
+ const str = value.replace(/<\/?[^>]+(>|$)/gm, '')
// Set counter length of text
this.form.contentLength = str.length
- //Enable save button if requirements are met
- if ( str.length >= this.content_min &&
- str.length <= this.content_max)
- {
+ // Enable save button if requirements are met
+ if (str.length >= this.content_min && str.length <= this.content_max) {
this.disabled = false
}
},