Browse Source

closes https://github.com/gilbitron/Pico/issues/67

Roman Shvets 12 years ago
parent
commit
b4123c222c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/pico.php

+ 1 - 1
lib/pico.php

@@ -151,7 +151,7 @@ class Pico {
 	 */
 	private function parse_content($content)
 	{
-		$content = preg_replace('#/\*.+?\*/#s', '', $content); // Remove comments and meta
+		$content = preg_replace('#^/\*.+?\*/#s', '', $content); // Remove comments and meta
 		$content = str_replace('%base_url%', $this->base_url(), $content);
 		$content = MarkdownExtra::defaultTransform($content);