{
$definition = $config->getHTMLDefinition(true);
+ // <br>
+ $definition->addAttribute('br', 'data-cke-filler', new \HTMLPurifier_AttrDef_Enum(['true']));
+
// code
$definition->addAttribute('pre', 'data-file', 'Text');
$definition->addAttribute('pre', 'data-line', 'Number');
$node = $paragraph->childNodes->item(0);
if ($node->nodeType === \XML_TEXT_NODE && $node->textContent === "\u{00a0}") {
$br = $node->ownerDocument->createElement("br");
+ $br->setAttribute("data-cke-filler", "true");
$node->parentNode->appendChild($br);
$node->parentNode->removeChild($node);