Slight tweak to last commit: don't preserve whitespace if it is actually a heading...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 6 Apr 2008 18:04:38 +0000 (18:04 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 6 Apr 2008 18:04:38 +0000 (18:04 +0000)
commit23008e367f0848e782814e861413afc687684b77
tree23e6df84b4cae0c8b8736e57a52a89959450b6f0
parentf634c7934710975d63934c941d72eb230f2dc7b5
Slight tweak to last commit: don't preserve whitespace if it is actually a heading.\nI'm not actually clear on why we want to introduce this voodoo =-stripping behavior, actually?  Do people really enter stuff like "== Section name ==" for their edit summary, and *not* mean it to be saved that way?  Why is the expected result to strip the equals signs?  And would it make more sense to do the normalization on save as well or also on previews, as we do now?  The former is what we do for things like subst.
includes/EditPage.php