Changeset 82609 in spip-zone


Ignore:
Timestamp:
May 20, 2014, 9:46:04 AM (5 years ago)
Author:
marcimat@…
Message:

Indiquer que l'on enlève le html dans les snippets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/indexer/trunk/iterateur/sphinx.php

    r82606 r82609  
    277277                        return false;
    278278                }
    279                 $this->queryApi->select("SNIPPET($desc[champ], " . $this->quote($desc['phrase']) . ", 'limit=$desc[limit]') AS $desc[as]");
     279                $this->queryApi->select("SNIPPET($desc[champ], " . $this->quote($desc['phrase']) . ", 'limit=$desc[limit],html_strip_mode=strip') AS $desc[as]");
    280280                return true;
    281281        }
Note: See TracChangeset for help on using the changeset viewer.