aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/markdown/markdown.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/markdown/markdown.php b/plugins/markdown/markdown.php
index a45b6574..5a702c7b 100644
--- a/plugins/markdown/markdown.php
+++ b/plugins/markdown/markdown.php
@@ -173,7 +173,10 @@ function process_markdown($description)
173 ->setBreaksEnabled(true) 173 ->setBreaksEnabled(true)
174 ->text($processedDescription); 174 ->text($processedDescription);
175 $processedDescription = sanitize_html($processedDescription); 175 $processedDescription = sanitize_html($processedDescription);
176 $processedDescription = '<div class="markdown">'. $processedDescription . '</div>'; 176
177 if(!empty($processedDescription)){
178 $processedDescription = '<div class="markdown">'. $processedDescription . '</div>';
179 }
177 180
178 return $processedDescription; 181 return $processedDescription;
179} 182}