Skip to content

Commit f1ebd5c

Browse files
MAGETWO-52378: [GitHub] WYSIWYG Editor strips empty HTML codes out #4324
1 parent a276241 commit f1ebd5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/mage/adminhtml/wysiwyg/tiny_mce/html5-schema.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ define([
4646
};
4747

4848
schema.flowContent = schema.blockContent.concat(schema.phrasingContent, ['style']);
49-
schema.nonEmpty = ['td', 'th', 'iframe', 'video', 'audio', 'object', 'script'].concat(schema.shortEnded);
49+
schema.nonEmpty = ['td', 'th', 'iframe', 'video', 'audio', 'object', 'script', 'i', 'em', 'span'].concat(schema.shortEnded);
5050

5151
_.extend(schema, (function (phrasingContent, flowContent) {
5252
var validElements = [],

0 commit comments

Comments
 (0)