Projet

Général

Profil

Révision f066bdb5

Ajouté par Assos Assos il y a plus de 9 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/feeds_xpathparser/FeedsXPathParserXML.inc
2 2

  
3 3
/**
4 4
 * @files
5
 * Provides the FeedsXPathParserXML class.
5
 * Contains FeedsXPathParserXML.
6
 */
7

  
8
/**
9
 * XPath parsing for XML.
6 10
 */
7 11
class FeedsXPathParserXML extends FeedsXPathParserBase {
8 12

  
......
11 15
   */
12 16
  protected function setup($source_config, FeedsFetcherResult $fetcher_result) {
13 17

  
14
    if (!empty($source_config['exp']['tidy'])) {
18
    if (!empty($source_config['exp']['tidy']) && extension_loaded('tidy')) {
15 19
      $config = array(
16 20
        'input-xml' => TRUE,
17 21
        'wrap'      => 0,

Formats disponibles : Unified diff