Problem/Motivation

We received example articles with attributes that had null as value instead of true. Documentation is not very clear and only explains it in the context of the retain operation that we don't use/support: https://github.com/ottypes/rich-text#retain-operation but I think it is safe to skip any attribute definition if the value is NULL and not true or something else.

Steps to reproduce

Extend test with a bold: null attribute, ensure that the bold template is not used for it.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork ww_publish-3215782

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Berdir created an issue. See original summary.

johnchque made their first commit to this issue’s fork.

johnchque’s picture

Status: Active » Needs review
berdir’s picture

Status: Needs review » Needs work
johnchque’s picture

Status: Needs work » Needs review

  • Berdir committed 9654dbe on 2.x authored by johnchque
    Issue #3215782 by johnchque: Ignore attributes with null value
    
berdir’s picture

Status: Needs review » Fixed

Updated the comment and merged.

Status: Fixed » Closed (fixed)

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