commit 253336500b32fe0e3de9f8b5c7f998cdb2553d08
parent bad439097b65f121b51f9105dc5ef90591c3a201
Author: markseu <mark2011@mayberg.se>
Date: Mon, 12 Mar 2018 14:15:21 +0100
Updated editor, dealing with line endings
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/system/plugins/edit.php b/system/plugins/edit.php
@@ -891,7 +891,7 @@ class YellowResponse
{
$pageSource = new YellowPage($this->yellow);
$pageSource->setRequestInformation($scheme, $address, $base, $location, $fileName);
- $pageSource->parseData($rawDataSource, false, 0);
+ $pageSource->parseData($this->normaliseLines($rawDataSource, $endOfLine), false, 0);
if(substrb($pageSource->rawData, 0, $pageSource->metaDataOffsetBytes) !=
substrb($page->rawData, 0, $page->metaDataOffsetBytes))
{