mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 03:14:27 +02:00
- preserve line endings type form template source
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
07/02/2010
|
||||
- preserve line endings type form template source
|
||||
- API changes (see README file)
|
||||
|
||||
05/02/2010
|
||||
|
@@ -82,7 +82,8 @@ class Smarty_Internal_Templatelexer
|
||||
{
|
||||
// set instance object
|
||||
self::instance($this);
|
||||
$this->data = preg_replace("/(\r\n|\r|\n)/", "\n", $data);
|
||||
// $this->data = preg_replace("/(\r\n|\r|\n)/", "\n", $data);
|
||||
$this->data = $data;
|
||||
$this->counter = 0;
|
||||
$this->line = 1;
|
||||
$this->smarty = $compiler->smarty;
|
||||
|
Reference in New Issue
Block a user