diff --git a/erpnext/public/js/hub/pages/Buying.vue b/erpnext/public/js/hub/pages/Buying.vue
index 57ad46901f..7c3fc27bbd 100644
--- a/erpnext/public/js/hub/pages/Buying.vue
+++ b/erpnext/public/js/hub/pages/Buying.vue
@@ -14,7 +14,7 @@
>
{{item.recent_message.sender}}:
- {{item.recent_message.content}}
+ {{item.recent_message.content | striphtml}}
diff --git a/erpnext/public/js/hub/vue-plugins.js b/erpnext/public/js/hub/vue-plugins.js
index 7d0619f699..e18af0c428 100644
--- a/erpnext/public/js/hub/vue-plugins.js
+++ b/erpnext/public/js/hub/vue-plugins.js
@@ -60,3 +60,7 @@ Vue.directive('img-src', {
handleImage(el, binding.value);
}
});
+
+Vue.filter('striphtml', function (text) {
+ return strip_html(text);
+});
\ No newline at end of file