Permalink
Browse files

Making the notes to myself more legible

  • Loading branch information...
1 parent e1e4fbc commit fcd08df1c4a3cfe98ee049b75010c477c5eef2fb @mwunsch mwunsch committed Apr 1, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 parser/parser.php
View
@@ -52,7 +52,7 @@ public function parse($document) {
// print_r($this->template);
}
- public function get_posts($document) {
+ public function get_posts($document) {
$html = preg_replace_callback(
$this->block_pattern('Posts'),
array($this, 'render_posts'),
@@ -66,7 +66,7 @@ public function render_posts($matches) {
$html = '';
$posts = $this->template['Posts'];
foreach ($posts as $index => $post) {
- //render non-post blocks
+ //render post blocks non-specific to type: permalink, etc.
$html .= $this->render_post($post, $this->select_by_type($post, $block));
}
return $html;

0 comments on commit fcd08df

Please sign in to comment.