EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
html to plain link fix
Yuri Kuznetsov4a4618ef560e
diff --git a/client/src/views/fields/wysiwyg.js b/client/src/views/fields/wysiwyg.jsindex 6beec54d2f..6ed4d861c3 100644--- a/client/src/views/fields/wysiwyg.js+++ b/client/src/views/fields/wysiwyg.js@@ -791,6 +791,10 @@ class WysiwygFieldView extends TextFieldView {if (node.nodeType === Node.ELEMENT_NODE) {if (node instanceof HTMLAnchorElement) {+ if (node.textContent === node.href) {+ return node.href;+ }+return `${node.textContent} (${node.href})`;}