mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
SCSS: Refactor .is-code by moving it to helper file and renaming it
This commit is contained in:
@@ -31,7 +31,7 @@ class UIContentBlockUIBlockFactory extends AbstractUIBlockFactory
|
||||
*/
|
||||
public static function MakeForCode(string $sCode, string $sId = null)
|
||||
{
|
||||
$oCode = new UIContentBlock($sId, ['ibo-code']);
|
||||
$oCode = new UIContentBlock($sId, ['ibo-is-code']);
|
||||
$sCode = str_replace("\n", '<br>', $sCode);
|
||||
$oCode->AddSubBlock(new Html($sCode));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user