diff --git a/Services/Style/Content/classes/class.ilObjStyleSheet.php b/Services/Style/Content/classes/class.ilObjStyleSheet.php index b0e8a6476c69..927e6f0adeaf 100755 --- a/Services/Style/Content/classes/class.ilObjStyleSheet.php +++ b/Services/Style/Content/classes/class.ilObjStyleSheet.php @@ -1970,6 +1970,10 @@ public function createFromXMLFile( } } + if ($tag["type"] === "text_block" && $tag["tag"] === "div") { + $tag["tag"] = "p"; + } + $q = "INSERT INTO style_parameter (id,style_id, tag, class, parameter, type, value, custom) VALUES " . "(" . $ilDB->quote($id, "integer") . "," .