Ticket #3906: php_fix.patch

File php_fix.patch, 763 bytes (added by Cic, 16 years ago)
  • spellchecker.php

     
    108108                                $chardesc = substr( $val, 0, 1 );
    109109                                # if '&', then not in dictionary but has suggestions
    110110                                # if '#', then not in dictionary and no suggestions
     111                                # if '?', then not in dictionary but some guesses are available
    111112                                # if '*', then it is a delimiter between text inputs
    112113                                # if '@' then version info
    113                                 if( $chardesc == '&' || $chardesc == '#' ) {
     114                                if( $chardesc == '&' || $chardesc == '#' || $chardesc == '?' ) {
    114115                                        $line = explode( " ", $val, 5 );
    115116                                        print_words_elem( $line[1], $index, $text_input_index );
    116117                                        if( isset( $line[4] )) {
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy