Skip to content

Commit

Permalink
fixing bug where comments might not appear as comments if they are on…
Browse files Browse the repository at this point in the history
… the last line of your code block
  • Loading branch information
ccampbell committed Sep 17, 2010
1 parent 0cf06d6 commit aed7665
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Nijikodo.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ protected static function _tokenizeCodeBlock($matches)
$code = $matches[3];

$code = ltrim($code, "\n");
$code = rtrim($code, "\n");

$token = 'code:' . uniqid();
$html = self::toHtml($code, $language, $height);
Expand Down

0 comments on commit aed7665

Please sign in to comment.