mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-07 14:46:48 +02:00
Make newline normalization optional.
This commit is contained in:
committed by
Edward Z. Yang
parent
632bf2bbd4
commit
9573f0933d
@@ -125,8 +125,6 @@ class HTML5 {
|
||||
const EOF = 5;
|
||||
|
||||
public function __construct($data) {
|
||||
$data = str_replace("\r\n", "\n", $data);
|
||||
$data = str_replace("\r", null, $data);
|
||||
|
||||
$this->data = $data;
|
||||
$this->char = -1;
|
||||
|
Reference in New Issue
Block a user