You are here

function htmlqp in QueryPath 6

Same name and namespace in other branches
  1. 7.3 QueryPath/QueryPath.php \htmlqp()
  2. 7.2 QueryPath/QueryPath.php \htmlqp()

File

QueryPath/QueryPath.php, line 28

Code

function htmlqp($document = NULL, $selector = NULL, $options = array()) {
  $options += array(
    'ignore_parser_warnings' => TRUE,
    'convert_to_encoding' => 'ISO-8859-1',
    'convert_from_encoding' => 'auto',
    'use_parser' => 'html',
    'strip_low_ascii' => TRUE,
  );
  return @qp($document, $selector, $options);
}