JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5
[ckeditor.git] / _source / core / htmlparser / element.js
index 69bacda..b66fcfa 100644 (file)
@@ -34,7 +34,7 @@ CKEDITOR.htmlParser.element = function( name, attributes )
         */\r
        this.children = [];\r
 \r
-       var tagName = attributes._cke_real_element_type || name;\r
+       var tagName = attributes[ 'data-cke-real-element-type' ] || name;\r
 \r
        var dtd                 = CKEDITOR.dtd,\r
                isBlockLike     = !!( dtd.$nonBodyContent[ tagName ] || dtd.$block[ tagName ] || dtd.$listItem[ tagName ] || dtd.$tableContent[ tagName ] || dtd.$nonEditable[ tagName ] || tagName == 'br' ),\r