diff --git a/media/styles/default.css b/media/styles/default.css index 2994f9a..0ad6cc8 100644 --- a/media/styles/default.css +++ b/media/styles/default.css @@ -30,7 +30,7 @@ a:hover { color:#07d; } .content img { max-width:100%; height:auto; } .content .flexible { position:relative; padding-bottom:56.25%; padding-top:30px; } .content .flexible iframe { position:absolute; top:0; left:0; width:100%; height:100%; } -.footer { margin-top:1em; padding-top:0.5em; border-top:1px solid #ddd; } +.footer { margin-top:1em; border-top:1px solid #ddd; line-height:2em; } .left { float:left; margin:0 1em 0 0; } .center { display:block; margin:0 auto; } .right { float:right; margin:0 0 0 1em; } @@ -45,7 +45,7 @@ a:hover { color:#07d; } } @media screen and (max-width:30em) { body { margin:0.5em; font-size:0.9em; } - .header h1, h1, h2 { font-size:1.3em; } + .header h1, h1, h2 { font-size:1.3em; } .header h1, .header, .navigation, .footer, .page { margin:0; padding:0; } } @media print { diff --git a/system/core/core.php b/system/core/core.php index 32acb7b..9473be3 100755 --- a/system/core/core.php +++ b/system/core/core.php @@ -5,7 +5,7 @@ // Yellow main class class Yellow { - const Version = "0.1.19"; + const Version = "0.1.20"; var $page; //current page data var $pages; //current page tree from file system var $toolbox; //toolbox with helpers @@ -446,7 +446,7 @@ class Yellow_Page $this->parser = $this->yellow->plugins->plugins[$this->get("parser")]["obj"]; $this->parser->parse($this->getContent(true)); $location = $this->yellow->toolbox->getDirectoryLocation($this->getLocation()); - $this->parser->textHtml = preg_replace("##", + $this->parser->textHtml = preg_replace("##", "", $this->parser->textHtml); } foreach($this->yellow->plugins->plugins as $key=>$value)