HTML field not displayed from Module Builder

If I add an HTML type field to a module created in Module Builder, it looks like this:

<p><span style="color: #0000ff;"><strong><strong>TEST TEST TEST</strong></strong></span></p>

If instead I add the same field in Studio, it appears to me as I expect:


Is it a known bug? What can be a workaround?

I need to work in Module Builder for a while longer, because I’m completing a custom module, so I don’t want to make customizations in Studio, to don’t lose them at each new DEPLOY.

I’m working on SuiteCRM version 7.11.22.

If you add the HTML type field to a module created in Module Builder then it encodes the HTML Tag in Module’s vardef file. For Example, <p> tag encodes to &ltp&gt

For fixing the problem, follow below steps,

File Path: <YOURCRM>/modules/<YOURMODULE>/vardefs.php

Replace the default and default_value as shown in below screenshot:

<p><span style="color: #0000ff;"><strong><strong>TEST TEST TEST</strong></strong></span></p>