summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2010-03-01 09:17:56 +0000
committerdeva <deva>2010-03-01 09:17:56 +0000
commit9dabadd163343a821d1d10b1c177e97d323f8428 (patch)
treed5587d606aec417fba287125de81c0ada6526b79
parentb3a43bc85a0caf6ba1810870f761bde3e2eb2940 (diff)
Fix center/simple (inverted conditional).
-rw-r--r--utils/markdown.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/markdown.php b/utils/markdown.php
index eabd01d..666e0b7 100644
--- a/utils/markdown.php
+++ b/utils/markdown.php
@@ -2464,7 +2464,7 @@ class MarkdownExtra_Parser extends Markdown_Parser {
$centerr = "";
if(strlen($value) > 2 && $value[0] == '=' &&
$value[strlen($value)-1] == '=') {
- if($this->simple) {
+ if($this->simple == false) {
$centerl = "<div style=\"text-align: center;\">";
$centerr = "</div>";
} else {