diff --git a/system/src/Grav/Common/Page/Page.php b/system/src/Grav/Common/Page/Page.php index 1d8a80241..7037dfe40 100644 --- a/system/src/Grav/Common/Page/Page.php +++ b/system/src/Grav/Common/Page/Page.php @@ -361,7 +361,6 @@ class Page $this->id(time().md5($this->filePath())); $this->content = null; } - // If no content, process it if ($this->content === null) { // Get media @@ -568,6 +567,15 @@ class Page return $default; } + public function rawMarkdown($var = null) + { + if ($var !== null) { + $this->raw_content = $var; + } + + return $this->raw_content; + } + /** * Get file object to the page. *