From 38203c2ffe9f44b6d333b097f4d99c470fa2af52 Mon Sep 17 00:00:00 2001 From: yggverse Date: Fri, 12 Jul 2024 18:53:30 +0300 Subject: [PATCH] implement raw data storage --- src/Entity/Browser/Container/Page/Content/Data.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Entity/Browser/Container/Page/Content/Data.php b/src/Entity/Browser/Container/Page/Content/Data.php index 74d10c7..0146bd8 100644 --- a/src/Entity/Browser/Container/Page/Content/Data.php +++ b/src/Entity/Browser/Container/Page/Content/Data.php @@ -11,6 +11,9 @@ class Data { public \GtkLabel $gtk; + // Extras + public ?string $raw = null; + // Dependencies public \Yggverse\Yoda\Entity\Browser\Container\Page\Content $content; @@ -98,6 +101,8 @@ class Data $this->gtk->set_text( $value ); + + $this->raw = $value; } public function setMono( @@ -112,6 +117,8 @@ class Data ) ) ); + + $this->raw = $value; } public function setGemtext( @@ -274,6 +281,8 @@ class Data $line ) ); + + $this->raw = $value; } private function _wrap(