You are here

protected function FeedsExXml::getTidyConfig in Feeds extensible parsers 7

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

Returns the options for phptidy.

Return value

array The configuration array.

See also

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

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 351
Contains FeedsExXml.

Class

FeedsExXml
Parses XML documents with XPath.

Code

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