Browse Source

Fix comment

Cristian 11 năm trước cách đây
mục cha
commit
2194dd1bdb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/pico.php

+ 1 - 1
lib/pico.php

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