Sometimes, we want to embed paragraphs into tabs, into a non-mandatory tab.
Saying that, if we choose not to put paragraphs in the tabs, we don't want paragraphs to output any markup for the field.

In other words : do not output any markup if the paragraphs field is empty.

CommentFileSizeAuthor
#1 2370445.empty_values.patch692 byteshaza

Comments

haza’s picture

Status: Active » Needs review
StatusFileSize
new692 bytes

Patch attached.

  • jeroen.b committed 2ea37b8 on 7.x-1.x authored by Haza
    Fix #2370445: Prevent displaying markup for empty values
    
jeroen.b’s picture

Status: Needs review » Closed (fixed)

Thanks for the patch, committed to dev!

Please test (it might be the dev release isn't generated yet when you read this, you can use the version from git instead).

daniel wentsch’s picture

Thanks for the patch, works great for me!