Explorar o código

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

Roman Shvets %!s(int64=12) %!d(string=hai) anos
pai
achega
b4123c222c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);