summaryrefslogtreecommitdiff
path: root/utils/markdown.php
diff options
context:
space:
mode:
authordeva <deva>2010-01-28 19:04:10 +0000
committerdeva <deva>2010-01-28 19:04:10 +0000
commitd09405ea0c204187bf8dd73354093851a05ab240 (patch)
tree739a10a600a14da6bb104fa5e5832e2fe046b3fd /utils/markdown.php
parentf97eb006ac33308abe6499ed72e381ae06f682ed (diff)
Replaced all p tags with div tags, class='paragraph'.
Diffstat (limited to 'utils/markdown.php')
-rw-r--r--utils/markdown.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/markdown.php b/utils/markdown.php
index b594cf4..dd6416b 100644
--- a/utils/markdown.php
+++ b/utils/markdown.php
@@ -2449,8 +2449,8 @@ class MarkdownExtra_Parser extends Markdown_Parser {
$is_p = !preg_match('/^B\x1A[0-9]+B|^C\x1A[0-9]+C$/', $value);
if ($is_p) {
- // TODO: Gør et eller andet som giver mening her...!!
- $value = "<p>" . $value . "</p>";
+ $value = "<div class=\"paragraph\">" . $value . "</div>";
+ //$value = "<p>" . $value . "</p>";
//$value = "<div>$value</div>";
}
$grafs[$key] = $value;