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 |
||
---|---|---|
.. | ||
actions | ||
ce | ||
dm | ||
init | ||
test | ||
ui | ||
ve.Action.js | ||
ve.ActionFactory.js | ||
ve.AnnotationSet.js | ||
ve.BranchNode.js | ||
ve.Command.js | ||
ve.CommandRegistry.js | ||
ve.debug.js | ||
ve.Document.js | ||
ve.EventEmitter.js | ||
ve.Factory.js | ||
ve.js | ||
ve.LeafNode.js | ||
ve.Node.js | ||
ve.OrderedHashSet.js | ||
ve.Position.js | ||
ve.Range.js | ||
ve.Registry.js | ||
ve.Surface.js |