[Pmwiki-users] Lost newlines in text edits

Patrick R. Michaud pmichaud at pobox.com
Tue Jun 17 19:18:44 CDT 2003


On Wed, Jun 18, 2003 at 10:07:08AM +1200, John Rankin wrote:
> 
> I also have a minor, but annoying, problem of leading and trailing 
> 'return' characters being stripped off. So my GroupFooter which starts 
> with ---- keeps getting turned into 2 em dashes (SmartQuotes finds 
> inline --, because the ---- is no longer at the start of a line and 
> doesn't get turned into a <hr />).

This is probably a Safari bug.  Apparently Safari likes to eat trailing
newlines in <textarea> inputs.  I don't have an easy fix for this short
of doing a browser-dependent test to add the newline back if Safari
was used to post the data.

Pm




More information about the pmwiki-users mailing list