PHP Classes

Textarea html element does not show linebreaks

Recommend this page to a friend!

      Fast Template  >  All threads  >  Textarea html element does not show...  >  (Un) Subscribe thread alerts  
Subject:Textarea html element does not show...
Summary:Fix to allow newlines in textareas
Messages:2
Author:Martin Fasani
Date:2006-09-27 17:44:45
Update:2006-09-27 19:00:33
 

  1. Textarea html element does not show...   Reply   Report abuse  
Picture of Martin Fasani Martin Fasani - 2006-09-27 17:44:45
Line 456:

// Removed because it deletes newline in textareas.
// $template = ereg_replace("([\n]+)", "\n", $template);

I hope someone can read this before loosing precious time.

This line can be stripped out of this class, removing extra lines is not a need, really and it generates more problems than compression.
MARTIN

  2. Re: Textarea html element does not show...   Reply   Report abuse  
Picture of Valics Lehel Valics Lehel - 2006-09-27 19:00:33 - In reply to message 1 from Martin Fasani
We will analize it for next release. TX.