From 3a5f0936f51a965d52ef02189ae9a06f148be27d Mon Sep 17 00:00:00 2001 From: Oliver Tacke Date: Fri, 12 Oct 2018 13:02:12 +0200 Subject: [PATCH] HFP-2095 Add th to list of tags that can have custom styling --- h5p.classes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/h5p.classes.php b/h5p.classes.php index c281ab7..afcb817 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -3333,7 +3333,7 @@ class H5PContentValidator { public $h5pF; public $h5pC; private $typeMap, $libraries, $dependencies, $nextWeight; - private static $allowed_styleable_tags = array('span', 'p', 'div','h1','h2','h3', 'table', 'td'); + private static $allowed_styleable_tags = array('span', 'p', 'div','h1','h2','h3', 'table', 'th', 'td'); /** * Constructor for the H5PContentValidator