- Status changed to Fixed
over 2 years ago 7:01am 21 January 2023 Automatically closed - issue fixed for 2 weeks with no activity.
The stock Visual
layout plugin is not HTML-5 compatible. See
https://www.drupal.org/project/diff/issues/3226910
β¨
Visual inline diff view strips out HTML5 elements
Needs review
for a ~ 1.5 year old issue with history.
I'm not convinced that HTMLPurifier is needed, given that Drupal manages its own rendering pipeline in its entirety. Adding another step to the process that may produce an entirely different version of markup than end-users might see doesn't seem ideal.
Since 0.1.14, caxy/php-htmldiff
has an option to completely turn off HTMLPurifier. I think this is the best approach to the problems faced by #3226910.
Perhaps Visual Inline (HTML5)?
None for a MvP. Any options can be added in follow-up feature requests.
caxy/php-htmldiff
supports no-purifier mode.Specify a minimum version of caxy/php-htmldiff
via composer.json
.
A new layout plugin type will be added.
None.
None.
Fixed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed - issue fixed for 2 weeks with no activity.