mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
e95cc34978
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 |
||
---|---|---|
.. | ||
nodes | ||
ve.dm.AnnotationFactory.test.js | ||
ve.dm.BranchNode.test.js | ||
ve.dm.Converter.test.js | ||
ve.dm.Document.test.js | ||
ve.dm.DocumentSynchronizer.test.js | ||
ve.dm.example.js | ||
ve.dm.LeafNode.test.js | ||
ve.dm.Node.test.js | ||
ve.dm.NodeFactory.test.js | ||
ve.dm.Surface.test.js | ||
ve.dm.SurfaceFragment.test.js | ||
ve.dm.Transaction.test.js | ||
ve.dm.TransactionProcessor.test.js |