Skip to content

Commit

Permalink
Making the notes to myself more legible
Browse files Browse the repository at this point in the history
  • Loading branch information
mwunsch committed Apr 1, 2010
1 parent e1e4fbc commit fcd08df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parser/parser.php
Expand Up @@ -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'),
Expand All @@ -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;
Expand Down

0 comments on commit fcd08df

Please sign in to comment.