diff --git a/src/helpers/Markdown.php b/src/helpers/Markdown.php index 805eca0..e30a269 100755 --- a/src/helpers/Markdown.php +++ b/src/helpers/Markdown.php @@ -27,7 +27,7 @@ class Markdown extends \Parsedown { private function purifyHtml($html) { $config = \HTMLPurifier_Config::createDefault(); $config->set('HTML.Doctype', 'XHTML 1.0 Transitional'); - $config->set('HTML.Allowed', 'p,strong,em,b,a[href],i,span,ul,ol,li,cite,code,pre'); + $config->set('HTML.Allowed', 'p,strong,em,b,a[href],i,span,ul,ol,li,cite,code,pre,br,blockquote'); $config->set('URI.AllowedSchemes', array('http' => true, 'https' => true, 'mailto' => true, 'ftp' => true)); $config->set('HTML.TargetBlank', true); diff --git a/src/scss/style.scss b/src/scss/style.scss index 22b13dc..da66ece 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -14,11 +14,26 @@ $grid-gutter-width: 10px; color: $gray-700; } text-decoration: none; - &:hover,&:focus,&:active { + &:hover, &:focus, &:active { border: 1px solid rgba(0, 0, 0, 0.5); background: $gray-200; } } } } +} + +h1 a { + color: $gray-700; + &:hover, &:focus, &:active { + color: $gray-900; + + } +} + +blockquote { // bootstrap 3 like styling + padding: 10px 20px; + margin: 0 0 20px; + font-size: 17.5px; + border-left: 5px solid #eee; } \ No newline at end of file