浏览代码

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);