Changeset 431


Ignore:
Timestamp:
Oct 31, 2013 9:48:26 PM (11 years ago)
Author:
anonymous
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1dev/lib/SpellCheck.inc.php

    r430 r431  
    274274        if (is_array($words) && !empty($words)) {
    275275            $words = preg_grep('/\w+/', $words);
     276            $words = array_map('strip_tags', $words);
    276277            foreach ($words as $i => $word) {
    277278                if (!$this->check($word)) {
    278279                    $footnote = $show_footnote ? '<sup style="color:#999;">' . ++$cnt . '</sup>' : '';
    279                     $words[$i] = $this->getParam('highlight_start') . strip_tags($word) . $this->getParam('highlight_end') . $footnote;
     280                    $words[$i] = $this->getParam('highlight_start') . $word . $this->getParam('highlight_end') . $footnote;
    280281                }
    281282            }
Note: See TracChangeset for help on using the changeset viewer.