Changeset 431
- Timestamp:
- Oct 31, 2013 9:48:26 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1dev/lib/SpellCheck.inc.php
r430 r431 274 274 if (is_array($words) && !empty($words)) { 275 275 $words = preg_grep('/\w+/', $words); 276 $words = array_map('strip_tags', $words); 276 277 foreach ($words as $i => $word) { 277 278 if (!$this->check($word)) { 278 279 $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; 280 281 } 281 282 }
Note: See TracChangeset
for help on using the changeset viewer.