[MAILPOET-5241]
[MAILPOET-2688]
[MAILPOET-4471]
The legend html was not escaped and was ignoring block settings coming from the form editor. This commit adds a new helper function for rendering legend that respects applies block settings and also escapes the output. [MAILPOET-4471]
[MAILPOET-3988]