diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-03-17 21:36:43 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-03-17 21:36:43 +0100 |
commit | 14338d298abfa41965a102c9e4451a6d28b9e27c (patch) | |
tree | 84e16d1a032c900e2e1edf18dc7a66d3e18181e7 /lib | |
parent | 5b77caf422379fc6d9ab411c608bc9613cd53d7f (diff) | |
download | rpg-14338d298abfa41965a102c9e4451a6d28b9e27c.tar.gz rpg-14338d298abfa41965a102c9e4451a6d28b9e27c.tar.bz2 |
fixes spellchecker problem with apostrophe in links #753
darcs-hash:20060317203643-7ad00-9968464c2d9c41b1d99a6b16f415082f79af7a8d.gz
Diffstat (limited to 'lib')
-rw-r--r-- | lib/exe/spellcheck.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/exe/spellcheck.php b/lib/exe/spellcheck.php index bc0209719..5b4c44eda 100644 --- a/lib/exe/spellcheck.php +++ b/lib/exe/spellcheck.php @@ -51,6 +51,7 @@ require_once (DOKU_INC.'inc/init.php'); session_write_close(); require_once (DOKU_INC.'inc/utf8.php'); require_once (DOKU_INC.'inc/aspell.php'); +require_once (DOKU_INC.'inc/common.php'); header('Content-Type: text/plain; charset=utf-8'); @@ -83,6 +84,8 @@ if(function_exists($call)){ * @author Andreas Gohr <andi@splitbrain.org> */ function spaceslink($string, $check=""){ + $string = unslash($string); + $check = unslash($check); $result = ' '; //opening [[ $result .= str_pad('',utf8_strlen($string),' '); $result .= $check; |