Issue #3454196: Filter placeholders without arguments are not replaced when HTML corrector filter applied afterwards
1 unresolved thread
Merge request reports
Activity
22 27 */ 23 28 class HtmlSerializerRules extends OutputRules { 24 29 30 /** 31 * {@inheritdoc} 32 */ 33 public function __construct($output, $options = []) { 34 parent::__construct($output, $options); 35 36 $this->addRule([ 37 'nodeName' => 'drupal-filter-placeholder', 38 'attrName' => 'arguments', 39 ]); - Comment on lines +36 to +39
I can believe there should be a better place for this change. At the moment, this
\Drupal\Component\Utility\HtmlSerializerRules
class is only used within\Drupal\Component\Utility\Html::serialize()
, but maybe there should be a factory service for it, which could allow other modules to act on instantiation? That feels like a much bigger change than I was anticipating, but I'll defer to any greater wisdom anyone can offer :)
- Resolved by James Williams
added 175 commits
-
1e8d32f2...62f9af40 - 174 commits from branch
project:11.x
- 1df82d18 - Merge branch '11.x' into drupal-3454196-3454196-filter-placeholders-without
-
1e8d32f2...62f9af40 - 174 commits from branch
Please register or sign in to reply