Skip to content

Commit

Permalink
FIX Correctly set img tag attributes for WYSIWYG (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Jul 23, 2024
1 parent afd4a52 commit 6057ce5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _config.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
. "|class],-strong/-b[class],-em/-i[class],-strike[class],-u[class],#p[id|dir|class|align|style]"
. ",-ol[class],"
. "-ul[class],"
. "-li[class],br,img[id|dir|longdesc|usemap|class|src|border|alt=|title|width|height|align|data*],"
. "-li[class],br,"
. "img[id|dir|longdesc|usemap|class|src|border|alt=|title|width|height|align|hspace|vspace|name|data*],"
. "-sub[class],-sup[class],-blockquote[dir|class],"
. "-table[cellspacing|cellpadding|width|height|class|align|dir|id|style],"
. "-tr[id|dir|class|rowspan|width|height|align|valign|bgcolor|background|bordercolor|style],"
Expand All @@ -40,8 +41,7 @@
. "-h4[id|dir|class|align|style],-h5[id|dir|class|align|style],-h6[id|dir|class|align|style],hr[class],"
. "dd[id|class|title|dir],dl[id|class|title|dir],dt[id|class|title|dir],@[id,style,class]",
'extended_valid_elements' =>
'img[class|src|alt|title|hspace|vspace|width|height|align|name|usemap|data*],'
. 'object[classid|codebase|width|height|data|type],'
'object[classid|codebase|width|height|data|type],'
. 'embed[width|height|name|flashvars|src|bgcolor|align|play|loop|quality|'
. 'allowscriptaccess|type|pluginspage|autoplay],'
. 'param[name|value],'
Expand Down

0 comments on commit 6057ce5

Please sign in to comment.