|
...
|
...
|
@@ -52,7 +52,11 @@ class CustomTemplateLogic extends BaseLogic |
|
|
|
if(!empty($info['html'])){
|
|
|
|
$info['is_renovation'] = 1;
|
|
|
|
}else{
|
|
|
|
$info['html'] = "<main>".$info['text']."</main>";
|
|
|
|
if(strpos($info['text'],"<main>") === false){
|
|
|
|
$info['html'] = "<main>".$info['text']."</main>";
|
|
|
|
}else{
|
|
|
|
$info['html'] = $info['text'];
|
|
|
|
}
|
|
|
|
$info['html_style'] = "<style id='globalsojs-styles'></style>";
|
|
|
|
$info['is_renovation'] = 0;
|
|
|
|
}
|
...
|
...
|
|