You are here

public function BaseParser::getCustomAllowedHtml in Markdown 8.2

Retrieves the custom (user provided) allowed HTML.

Return value

string The user provided (custom) allowed HTML.

Overrides RenderStrategyInterface::getCustomAllowedHtml

2 calls to BaseParser::getCustomAllowedHtml()
BaseParser::getAllowedHtml in src/Plugin/Markdown/BaseParser.php
BaseParser::getConfiguration in src/Plugin/Markdown/BaseParser.php
Gets this plugin's configuration.

File

src/Plugin/Markdown/BaseParser.php, line 208

Class

BaseParser
Base class form Markdown Parser instances.

Namespace

Drupal\markdown\Plugin\Markdown

Code

public function getCustomAllowedHtml() {
  return $this
    ->config()
    ->get('render_strategy.custom_allowed_html');
}