summaryrefslogtreecommitdiff
path: root/inc/parser/handler.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser/handler.php')
-rw-r--r--inc/parser/handler.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/parser/handler.php b/inc/parser/handler.php
index 58b68bc42..c92dbe3d5 100644
--- a/inc/parser/handler.php
+++ b/inc/parser/handler.php
@@ -1050,6 +1050,9 @@ class Doku_Handler_Preformatted {
if (trim($this->text)) {
$this->CallWriter->writeCall(array('preformatted',array($this->text),$this->pos));
}
+ // see FS#1699 & FS#1652, add 'eol' instructions to ensure proper triggering of following p_open
+ $this->CallWriter->writeCall(array('eol',array(),$this->pos));
+ $this->CallWriter->writeCall(array('eol',array(),$this->pos));
break;
}
}