Parsing comments with quotes and html symbols makes page render wrong markup.
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3438913. --> Reported by: [fjgarlin](https://www.drupal.org/user/2495842) >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Found in <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/api/issues/3342815" title="Status: Closed (fixed)">#3342815: Classes missing from Drupal 10</a></span>: <a href="https://api.stage.cluster.drupalsystems.org/api/drupal/core%21modules%21ckeditor5%21ckeditor5.api.php/group/ckeditor5_architecture/11.x">https://api.stage.cluster.drupalsystems.org/api/drupal/core%21modules%21ckeditor5%21ckeditor5.api.php/group/ckeditor5_architecture/11.x</a>, and scroll down.</p> <p>This is the block that is provoking the issue (found <a href="https://git.drupalcode.org/project/drupal/-/blob/11.x/core/modules/ckeditor5/ckeditor5.api.php?ref_type=heads#L126-136">here</a>):</p> <pre> *&nbsp;&nbsp; explicitly enabled in any plugin. i.e. if only '&lt;p&gt;', '&lt;h3&gt;' and '&lt;h2&gt;'<br> *&nbsp;&nbsp; tags are allowed, then '&lt;$text-container data-something&gt;' will allow the<br> *&nbsp;&nbsp; 'data-something' attribute for '&lt;p&gt;', '&lt;h3&gt;' and '&lt;h2&gt;' tags.<br> *&nbsp;&nbsp; Note that while the syntax is the same, some extra nuance is needed:<br> *&nbsp;&nbsp; although this syntax can be used to create an attribute on an element, f.e.<br> *&nbsp;&nbsp; (['&lt;marquee behavior&gt;']) creating the `behavior` attribute on `&lt;marquee&gt;`,<br> *&nbsp;&nbsp; the tag itself must be creatable as well (['&lt;marquee&gt;']). If a plugin wants<br> *&nbsp;&nbsp; the tag and attribute to be created, list both:<br> *&nbsp;&nbsp; (['&lt;marquee&gt;', '&lt;marquee behavior&gt;']). Validation logic ensures that a<br> *&nbsp;&nbsp; plugin supporting only the creation of attributes cannot be enabled if the<br> *&nbsp;&nbsp; tag cannot be created via itself or through another CKEditor 5 plugin.</pre><h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>MR</p>
issue