summaryrefslogtreecommitdiff
path: root/includes/pear/Text/Wiki/Render/Plain/Heading.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/pear/Text/Wiki/Render/Plain/Heading.php')
-rw-r--r--includes/pear/Text/Wiki/Render/Plain/Heading.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/includes/pear/Text/Wiki/Render/Plain/Heading.php b/includes/pear/Text/Wiki/Render/Plain/Heading.php
new file mode 100644
index 0000000..306f2bf
--- /dev/null
+++ b/includes/pear/Text/Wiki/Render/Plain/Heading.php
@@ -0,0 +1,14 @@
+<?php
+
+class Text_Wiki_Render_Plain_Heading extends Text_Wiki_Render {
+
+ function token($options)
+ {
+ if ($options['type'] == 'end') {
+ return "\n\n";
+ } else {
+ return "\n";
+ }
+ }
+}
+?> \ No newline at end of file