r61586 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61585‎ | r61586 | r61587 >
Date:18:58, 27 January 2010
Author:tparscal
Status:deferred
Tags:
Comment:
Comment change.
Modified paths:
  • /trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.js
@@ -369,7 +369,7 @@
370370 .replace( / /g, " " ) // We inserted these to prevent IE from collapsing spaces
371371 .replace( /\<p[^\>]*\>/gi, "\n" ) // IE uses </p><p> for user-inserted line breaks
372372 .replace( /\<\/p[^\>]*\>/gi, "" )
373 - .replace( /\<div[^\>]*\>/gi, "\n" ) // Webkit uses </p><p> for user-inserted line breaks
 373+ .replace( /\<div[^\>]*\>/gi, "\n" ) // Webkit uses </div><div> for user-inserted line breaks
374374 .replace( /\<\/div[^\>]*\>/gi, "" )
375375 + '</pre>' );
376376 // Get rid of the noincludes when getting text

Status & tagging log