Преглед изворни кода

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

Roman Shvets пре 12 година
родитељ
комит
b4123c222c
1 измењених фајлова са 1 додато и 1 уклоњено
  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);