summaryrefslogtreecommitdiff
path: root/doku.php
diff options
context:
space:
mode:
Diffstat (limited to 'doku.php')
-rw-r--r--doku.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/doku.php b/doku.php
index 3f930a965..ae44fcec7 100644
--- a/doku.php
+++ b/doku.php
@@ -40,7 +40,7 @@ if(empty($HIGH)) $HIGH = getGoogleQuery();
if (isset($_POST['wikitext'])) {
$TEXT = cleanText($_POST['wikitext']);
}
-$PRE = cleanText($_POST['prefix']);
+$PRE = cleanText(substr($_POST['prefix'], 0, -1));
$SUF = cleanText($_POST['suffix']);
$SUM = $_REQUEST['summary'];