Permalink
Browse files

Autoriser les balises <audio> et <video> dans 'xhtml:special'

Permet de mettre des liens vers du son ou de la vidéo
dans les documents externes d'un article.
  • Loading branch information...
arnaudcordier committed Oct 19, 2017
1 parent 53ae6bf commit 713cf96400ddaa3ff8d6d0517dff98516dbbf03a
Showing with 1 addition and 1 deletion.
  1. +1 −1 lodel/scripts/balises.php
@@ -53,7 +53,7 @@
$GLOBALS['xhtmlgroups']['xhtml:phrase'] = array ("em", "strong", "dfn", "code", "q", "samp", "kbd", "var", "cite", "abbr", "acronym", "sub", "sup", "del");
$GLOBALS['xhtmlgroups']['xhtml:special'] = array ("span", "img", "object", "br", "bdo", "map", "embed", "param", "iframe");
$GLOBALS['xhtmlgroups']['xhtml:special'] = array ("span", "img", "object", "br", "bdo", "map", "embed", "param", "iframe", "audio", "video", "source", "track");
$GLOBALS['xhtmlgroups']['xhtml:block'] = array (
"p", "h1", "h2", "h3", "h4", "h5", "h6", # heading

0 comments on commit 713cf96

Please sign in to comment.