Changeset 47652 in spip-zone


Ignore:
Timestamp:
May 10, 2011, 6:55:33 PM (10 years ago)
Author:
eric@…
Message:

Amélioration de la détection du slogan.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/plugonet/inc/plugonet_traiter.php

    r47602 r47652  
    632632                $description = entite2utf(trim($_descr));
    633633                $langs[$lang][strtolower($prefixe) . '_description'] = $description;
    634                 if (preg_match(',^\s*(.+)[.!?\r\n\f],Um', $description, $matches))
     634                if (preg_match(',^\s*(.+)[.!?:\r\n\f],Um', $description, $matches))
    635635                        $langs[$lang][strtolower($prefixe) . '_slogan'] = trim($matches[1]);
    636636                else
Note: See TracChangeset for help on using the changeset viewer.