You are here

protected function FeedsExXml::getTidyConfig in Feeds extensible parsers 7.2

Same name and namespace in other branches
  1. 7 src/FeedsExXml.inc \FeedsExXml::getTidyConfig()

Returns the options for phptidy.

http://php.net/manual/en/book.tidy.php

Return value

array The configuration array.

See also

tidy_repair_string()

1 call to FeedsExXml::getTidyConfig()
FeedsExXml::prepareDocument in src/FeedsExXml.inc
Prepares the DOM document.
2 methods override FeedsExXml::getTidyConfig()
FeedsExHtml::getTidyConfig in src/FeedsExHtml.inc
Returns the options for phptidy.
FeedsExQueryPathHtml::getTidyConfig in src/FeedsExQueryPathHtml.inc
Returns the options for phptidy.

File

src/FeedsExXml.inc, line 327
Contains FeedsExXml.

Class

FeedsExXml
Parses XML documents with XPath.

Code

protected function getTidyConfig() {
  return array(
    'input-xml' => TRUE,
    'wrap' => 0,
    'tidy-mark' => FALSE,
  );
}