You are here

protected static property ParserBase::$htmlTags in Feeds extensible parsers 8

The default list of HTML tags allowed by Xss::filter().

In addition of \Drupal\Component\Utility\Xss::$htmlTags also the <pre>-tag is added to the list of allowed tags. This is because for the JMESPath parser an error can be generated that needs to be displayed preformatted.

Type: array

See also

\Drupal\Component\Utility\Xss::filter()

File

src/Feeds/Parser/ParserBase.php, line 63

Class

ParserBase
The Feeds extensible parser.

Namespace

Drupal\feeds_ex\Feeds\Parser

Code

protected static $htmlTags = [
  'a',
  'em',
  'strong',
  'cite',
  'blockquote',
  'br',
  'pre',
  'code',
  'ul',
  'ol',
  'li',
  'dl',
  'dt',
  'dd',
];