diff --git a/sources/application/UI/Base/Component/Html/HtmlFactory.php b/sources/application/UI/Base/Component/Html/HtmlFactory.php index 869480cfb..bdbb0f47f 100644 --- a/sources/application/UI/Base/Component/Html/HtmlFactory.php +++ b/sources/application/UI/Base/Component/Html/HtmlFactory.php @@ -50,4 +50,16 @@ class HtmlFactory { return new Html('
'.$sContent.'
'); } + + /** + * Create a container for contents having multiple HTML tags, for which we want to preserve style and don't apply minireset + * + * @param string $sContent + * + * @return \Combodo\iTop\Application\UI\Base\Component\Html\Html + */ + public static function MakeHtmlContent(string $sContent): Html + { + return new Html('