MWDelaney / sage-acf-wp-blocks

Composer library for generating ACF Gutenberg blocks from templates. Intended for use with Roots/Sage (http://roots.io)
346 stars 66 forks source link

WYSIWIG field type - hmtl_entity_decode tags #72

Open markifornia opened 1 year ago

markifornia commented 1 year ago

Anyone running into HTML markup not decoding properly, therefore resulting in tags being displayed as HTML entities?

Specifically for WYSIWIG fields types, I need to pass the field to an html_entity_decode function so any (p tags) for instance would render properly.

example.blade.php

$headline = html_entity_decode(get_field('headline'));

Thanks great plugin for Sage 10 blade ACF and will continue to use for current and future projects.