This issue is part of #1333730: [Meta] PHP DOM (libxml2) misinterprets HTML5.

In this issue will the masterminds/html5 library be added to Drupal 8 core. This is necessary for the filter system and for the testing system. The use of this library for both the filter system and the testing system will be added in follow-up issues. This library has been chosen, because it does what we want and is ready to be used. All the alternatives have problems with either or both of them.

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue priority Major because the bug has many repercussions on filters using the HTML filter, and under some circumstances could result in an invalid DOM. Not critical because it does not render the HTML filter unusable. Also the testing system needs HTML5 support to test HTML5 code.
Prioritized changes The main goal of this issue is a bugfix to for HTML5 support, which is part of the Drupal 8 product.

Commit credits
Please give commit credits to all who have worked on the parent issue (#1333730: [Meta] PHP DOM (libxml2) misinterprets HTML5).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

daffie’s picture

Status: Active » Needs review
FileSize
7.47 KB
349.44 KB
daffie’s picture

FileSize
429.71 KB
6.13 KB

#2433009: Add Mink, with Goutte driver, to core has landed. So we need a re-roll.

daffie queued 1: 2429363-1.patch for re-testing.

daffie’s picture

#2433009: Add Mink, with Goutte driver, to core has been reverted. For reviewing use the patch from the first comment.

daffie’s picture

Issue summary: View changes
daffie’s picture

FileSize
7.69 KB
431.22 KB

The patch from comment #1 adds masterminds/html5 version 1.0.7 to drupal core. The latest stable release is version 2.1.0.

daffie’s picture

FileSize
429.66 KB
6.13 KB

#2433009: Add Mink, with Goutte driver, to core has re-landed again. So re-rolling the patch again. :(

daffie’s picture

FileSize
6.12 KB
429.65 KB

#2440937: Update release for Goutte driver has landed. Re-rolling is so much FUN!!!!

mrjmd’s picture

Status: Needs review » Reviewed & tested by the community

This looks good to me.

I did a quick functional test as well, I applied the patch here as well as the patch from #2441373: Upgrade tests to HTML5 and ran the test: everything passed.

webchick’s picture

Assigned: Unassigned » Dries

Technically a new library, so this goes to Dries.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 8: 2429363-8.patch, failed testing.

Dries’s picture

Assigned: Dries » Unassigned

I'm ok with adding this library. It seems necessary to resolve the bug. :-)

daffie’s picture

Status: Needs work » Needs review
FileSize
6.17 KB
429.71 KB
mrjmd’s picture

Status: Needs review » Reviewed & tested by the community

Looks good :).

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 41dfab8 and pushed to 8.0.x. Thanks!

  • alexpott committed 41dfab8 on 8.0.x
    Issue #2429363 by babruix, twistor, filijonka, sun, Mile23, daffie, Wim...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.