diff options
author | Adrian Lang <lang@cosmocode.de> | 2010-09-22 16:29:25 +0200 |
---|---|---|
committer | Adrian Lang <lang@cosmocode.de> | 2010-09-22 16:36:18 +0200 |
commit | 42de51b18d302d07e109c24dfb0ae237e6d38643 (patch) | |
tree | 337964c975fca1039e3b7bb8698314c53a267876 /inc | |
parent | 17566ac6f3581704c5238c433234ecfb7b0d98f2 (diff) | |
download | rpg-42de51b18d302d07e109c24dfb0ae237e6d38643.tar.gz rpg-42de51b18d302d07e109c24dfb0ae237e6d38643.tar.bz2 |
Work around WebKit bug: newlines at the end of input values are removed.
In WebKit, newlines at the end of input field’s value parameters are removed. This breaks $PRE, so we protect those new lines with a dot and later remove the dot.
Diffstat (limited to 'inc')
-rw-r--r-- | inc/html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php index 0bf5842ef..add559971 100644 --- a/inc/html.php +++ b/inc/html.php @@ -1177,7 +1177,7 @@ function html_edit(){ $form->addHidden('id', $ID); $form->addHidden('rev', $REV); $form->addHidden('date', $DATE); - $form->addHidden('prefix', $PRE); + $form->addHidden('prefix', $PRE . '.'); $form->addHidden('suffix', $SUF); $form->addHidden('changecheck', $check); |