This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed smart quotes ternary operator. Updated version to 1.0.2

  • Loading branch information...
Stephen Lewis
Stephen Lewis committed Apr 23, 2010
1 parent a098d79 commit bdd9156717bcff5da1badff1a7fb98adfd5379b0
Showing with 3 additions and 3 deletions.
  1. +3 −3 pi.smartdown.php
View
@@ -8,7 +8,7 @@
* @copyright Copyright (c) 2010, Stephen Lewis
* @license http://creativecommons.org/licenses/by-nc-sa/3.0/ Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported
* @link http://experienceinternet.co.uk/software/smartdown/
- * @version 1.0.1
+ * @version 1.0.2
*/
// Should we even be here?
@@ -28,7 +28,7 @@
'pi_description' => 'Smarter Markdown, with PHP Markdown Extra and SmartyPants for spicy content goodness.',
'pi_name' => 'SmartDown',
'pi_usage' => Smartdown::usage(),
- 'pi_version' => '1.0.1'
+ 'pi_version' => '1.0.2'
);
@@ -107,7 +107,7 @@ public function __construct($tagdata = '')
}
// Apply SmartyPants.
- $smart_quotes = $ee->TMPL->fetch_param('smart_quotes') ? '2' : $ee->TMPL->fetch_param('smart_quotes');
+ $smart_quotes = $ee->TMPL->fetch_param('smart_quotes') ? $ee->TMPL->fetch_param('smart_quotes') : '2';
$this->return_data = SmartyPants($tagdata, $smart_quotes);
}

0 comments on commit bdd9156

Please sign in to comment.