Skip to content

Commit

Permalink
content style: fix text_block import
Browse files Browse the repository at this point in the history
  • Loading branch information
alex40724 committed Dec 26, 2024
1 parent 02c6dc5 commit a0be97e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1975,6 +1975,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") . "," .
Expand Down

0 comments on commit a0be97e

Please sign in to comment.