mediawiki-extensions-Visual.../modules/ve/dm/nodes
Catrope 42c1aa10cd Serialize alienated context-sensitive nodes correctly
Context-sensitive nodes are HTML elements like <caption> that can only
appear in certain contexts (<table> in this case). This means that
serializing them by throwing them in a <div> and calling .innerHTML
fails, because the browser knows a <caption> can't be in a <div> and
unwraps it. jQuery's .html() function is clever though and knows to wrap
<caption> in a <table> (and has similar rules for other elements).
So use jQuery's .html() rather than manual .innerHTML stuff.

Change-Id: Id7d3eff968b3a2ba345680772f7cc32e3dcdb529
2013-04-17 18:26:54 -07:00
..
ve.dm.AlienNode.js Serialize alienated context-sensitive nodes correctly 2013-04-17 18:26:54 -07:00
ve.dm.BreakNode.js Actually use the doc parameter in toDomElements() 2013-04-09 23:48:03 +00:00
ve.dm.CenterNode.js Actually use the doc parameter in toDomElements() 2013-04-09 23:48:03 +00:00
ve.dm.DefinitionListItemNode.js Actually use the doc parameter in toDomElements() 2013-04-09 23:48:03 +00:00
ve.dm.DefinitionListNode.js Actually use the doc parameter in toDomElements() 2013-04-09 23:48:03 +00:00
ve.dm.DocumentNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.dm.GeneratedContentNode.js Create GeneratedContentNode which can store rendered HTML in IV store 2013-04-10 19:34:19 +01:00
ve.dm.HeadingNode.js Actually use the doc parameter in toDomElements() 2013-04-09 23:48:03 +00:00
ve.dm.ImageNode.js Image node refactor 2013-04-10 14:56:08 -07:00
ve.dm.ListItemNode.js Actually use the doc parameter in toDomElements() 2013-04-09 23:48:03 +00:00
ve.dm.ListNode.js Actually use the doc parameter in toDomElements() 2013-04-09 23:48:03 +00:00
ve.dm.MWEntityNode.js Actually use the doc parameter in toDomElements() 2013-04-09 23:48:03 +00:00
ve.dm.MWHeadingNode.js Create MediaWiki specific nodes to contain MW specific rules. 2013-03-12 16:28:29 -07:00
ve.dm.MWImageNode.js Image node refactor 2013-04-10 14:56:08 -07:00
ve.dm.MWPreformattedNode.js Create MediaWiki specific nodes to contain MW specific rules. 2013-03-12 16:28:29 -07:00
ve.dm.MWTemplateNode.js Hybridise MWTemplateNode 2013-04-14 02:34:18 +00:00
ve.dm.ParagraphNode.js Actually use the doc parameter in toDomElements() 2013-04-09 23:48:03 +00:00
ve.dm.PreformattedNode.js Actually use the doc parameter in toDomElements() 2013-04-09 23:48:03 +00:00
ve.dm.TableCellNode.js Actually use the doc parameter in toDomElements() 2013-04-09 23:48:03 +00:00
ve.dm.TableNode.js Actually use the doc parameter in toDomElements() 2013-04-09 23:48:03 +00:00
ve.dm.TableRowNode.js Actually use the doc parameter in toDomElements() 2013-04-09 23:48:03 +00:00
ve.dm.TableSectionNode.js Actually use the doc parameter in toDomElements() 2013-04-09 23:48:03 +00:00
ve.dm.TextNode.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00