diff --git a/system/extensions/update-available.ini b/system/extensions/update-available.ini index 211ddbfe..db691a88 100644 --- a/system/extensions/update-available.ini +++ b/system/extensions/update-available.ini @@ -213,14 +213,14 @@ Status: available system/workers/dutch.php: dutch.php, create, update Extension: Edit -Version: 0.9.6 +Version: 0.9.7 Description: Edit your website in a web browser. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-edit/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-edit DocumentationLanguage: en, de, sv -Published: 2024-04-30 17:04:26 +Published: 2024-05-06 23:17:11 Status: available system/workers/edit.php: edit.php, create, update system/workers/edit.css: edit.css, create, update @@ -229,14 +229,14 @@ system/workers/edit-stack.svg: edit-stack.svg, create, update content/shared/page-new-default.md: page-new-default.md, create, optional Extension: Emoji -Version: 0.9.2 +Version: 0.9.3 Description: Lots and lots of emoji. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-emoji/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-emoji DocumentationLanguage: en, de, sv -Published: 2024-04-09 19:50:25 +Published: 2024-05-06 23:16:06 Status: available system/workers/emoji.php: emoji.php, create, update system/workers/emoji.css: emoji.css, create, update diff --git a/system/extensions/yellow-extension.ini b/system/extensions/yellow-extension.ini index fc9dfb13..dd73abf9 100755 --- a/system/extensions/yellow-extension.ini +++ b/system/extensions/yellow-extension.ini @@ -20,14 +20,14 @@ system/layouts/navigation.html: navigation.html, create, update, careful system/layouts/pagination.html: pagination.html, create, update, careful Extension: Edit -Version: 0.9.6 +Version: 0.9.7 Description: Edit your website in a web browser. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-edit/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-edit DocumentationLanguage: en, de, sv -Published: 2024-04-30 17:04:26 +Published: 2024-05-06 23:17:11 Status: available system/workers/edit.php: edit.php, create, update system/workers/edit.css: edit.css, create, update diff --git a/system/workers/edit.php b/system/workers/edit.php index 53864f38..a225c38e 100644 --- a/system/workers/edit.php +++ b/system/workers/edit.php @@ -2,7 +2,7 @@ // Edit extension, https://github.com/annaesvensson/yellow-edit class YellowEdit { - const VERSION = "0.9.6"; + const VERSION = "0.9.7"; public $yellow; // access to API public $response; // web response public $merge; // text merge @@ -1079,6 +1079,7 @@ public function getPageNew($scheme, $address, $base, $location, $fileName, $rawD $page = new YellowPage($this->yellow); $page->setRequestInformation($scheme, $address, $base, $location, $fileName, false); $page->parseMeta($rawData, 200); + $this->editContentFile($page, "normalise", $this->userEmail); if ($this->yellow->content->find($page->location)) { $page->location = $this->getPageNewLocation($page->rawData, $page->location, $page->get("editNewLocation")); $page->fileName = $this->getPageNewFile($page->location, $page->fileName, $page->get("editNewPrefix")); @@ -1112,6 +1113,7 @@ public function getPageEdit($scheme, $address, $base, $location, $fileName, $raw $page = new YellowPage($this->yellow); $page->setRequestInformation($scheme, $address, $base, $location, $fileName, false); $page->parseMeta($rawData, 200); + $this->editContentFile($page, "normalise", $this->userEmail); $pageSource = new YellowPage($this->yellow); $pageSource->setRequestInformation($scheme, $address, $base, $location, $fileName, false); $pageSource->parseMeta($rawDataSource, 200);