Skip to content
This repository has been archived by the owner on Dec 24, 2017. It is now read-only.

Commit

Permalink
Improved handling of en and em dashes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Lewis committed Apr 13, 2010
1 parent 4c12b19 commit a098d79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pi.smartdown.php
Expand Up @@ -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.0
* @version 1.0.1
*/

// Should we even be here?
Expand All @@ -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.0'
'pi_version' => '1.0.1'
);


Expand Down Expand Up @@ -107,7 +107,7 @@ public function __construct($tagdata = '')
}

// Apply SmartyPants.
$smart_quotes = $ee->TMPL->fetch_param('smart_quotes') ? NULL : $ee->TMPL->fetch_param('smart_quotes');
$smart_quotes = $ee->TMPL->fetch_param('smart_quotes') ? '2' : $ee->TMPL->fetch_param('smart_quotes');
$this->return_data = SmartyPants($tagdata, $smart_quotes);
}

Expand Down

0 comments on commit a098d79

Please sign in to comment.