diff --git a/application/Espo/Resources/i18n/en_US/Admin.json b/application/Espo/Resources/i18n/en_US/Admin.json index 1174566a41..d02c1600d1 100644 --- a/application/Espo/Resources/i18n/en_US/Admin.json +++ b/application/Espo/Resources/i18n/en_US/Admin.json @@ -182,7 +182,8 @@ "inlineEditDisabled": "Disable Inline Edit", "allowCustomOptions": "Allow Custom Options", "displayAsLabel": "Display as Label", - "maxCount": "Max Item Count" + "maxCount": "Max Item Count", + "displayRawText": "Display raw text (no markdown)" }, "messages": { "upgradeVersion": "EspoCRM will be upgraded to version {version}. Please be patient as this may take a while.", diff --git a/application/Espo/Resources/metadata/fields/text.json b/application/Espo/Resources/metadata/fields/text.json index e9792c7c8f..c3097e8df9 100644 --- a/application/Espo/Resources/metadata/fields/text.json +++ b/application/Espo/Resources/metadata/fields/text.json @@ -30,6 +30,10 @@ "default": 200, "min": 1 }, + { + "name": "displayRawText", + "type":"bool" + }, { "name":"readOnly", "type":"bool" diff --git a/client/res/templates/fields/text/detail.tpl b/client/res/templates/fields/text/detail.tpl index 6ed97dc65b..1905d762c8 100644 --- a/client/res/templates/fields/text/detail.tpl +++ b/client/res/templates/fields/text/detail.tpl @@ -1,3 +1,3 @@ -{{#if isNotEmpty}}