mediawiki-extensions-Visual.../modules/ve/dm
Catrope e95cc34978 (bug 42469) Leading newlines in <pre>s get eaten
HTML DOM has annoying behavior for <pre>s where .innerHTML eats the
first newline in a <pre>. Work around this by explicitly adding a
newline in the data->DOM converter if the <pre> already contained a
newline.

There is a separate bug in Parsoid that causes the newline to be lost
anyway, filed as bug 42666

Change-Id: Ia26cd4a4c61afbe439b0562deb7f24ee8b8147d7
2012-12-03 17:14:33 -08:00
..
annotations (bug 42140) Don't force spaces to underscores in internal links 2012-11-19 18:55:49 -08:00
nodes Store the data model element in the DM tree 2012-11-27 14:36:29 -08:00
ve.dm.Annotation.js Only apply HTML attributes to DOM nodes that are "safe" 2012-11-27 14:34:29 -08:00
ve.dm.AnnotationFactory.js Standards: Fix global variables and pass JSHint. 2012-10-23 00:53:48 +02:00
ve.dm.BranchNode.js Store the data model element in the DM tree 2012-11-27 14:36:29 -08:00
ve.dm.Converter.js (bug 42469) Leading newlines in <pre>s get eaten 2012-12-03 17:14:33 -08:00
ve.dm.Document.js (bug 42401) Cursor movement fixes 2012-11-30 09:50:47 -08:00
ve.dm.DocumentSynchronizer.js DocumentSynchronizer fix and cleanup 2012-10-25 11:02:58 -07:00
ve.dm.js New annotation API: Annotation and AnnotationFactory classes 2012-10-12 15:07:02 -07:00
ve.dm.LeafNode.js Store the data model element in the DM tree 2012-11-27 14:36:29 -08:00
ve.dm.Node.js Fix rebase artefact in ve.dm.Node.getAttributes() 2012-11-28 11:20:54 -08:00
ve.dm.NodeFactory.js Flag pre nodes as having significant whitespace 2012-11-07 12:10:58 -08:00
ve.dm.Surface.js Added contextChange event to surface model, replacing annotationChange 2012-11-26 15:57:02 -08:00
ve.dm.SurfaceFragment.js (bug 42401) Cursor movement fixes 2012-11-30 09:50:47 -08:00
ve.dm.Transaction.js Merge "Added contextChange event to surface model, replacing annotationChange" 2012-11-27 22:54:11 +00:00
ve.dm.TransactionProcessor.js Make annotating inline elements actually work 2012-11-27 14:41:40 -08:00