There are HTML tags in some fields of the external databases. However, VDC doesn't render HTML.

CommentFileSizeAuthor
#2 3312773-allow-html-or-not-2.patch2.88 KBandileco

Comments

fishfree’s picture

I tried {{ field***|raw }} in the field rewrite config with the help of Twig tweak module. But no luck. Also tried theme override, still no luck.

andileco’s picture

Status: Active » Needs review
StatusFileSize
new2.88 KB

Hi @fishfree - sorry for the delay. Can you try this patch (after you apply it, clear caches and then check the "Render the field as HTML" checkbox in your field settings in the View)?

fishfree’s picture

Thank you very much! @andileco. It works now. However, if it can be configured to use full_html or other available text formats, it will be perfect!

  • andileco committed cc78f757 on 2.0.x
    Issue #3312773 by andileco, fishfree: Allow to configure escaping HTML...
andileco’s picture

Status: Needs review » Fixed

Thank you, @fishfree. I decided to commit the patch, since it worked, even if it's not optimal. At this point, I don't have the bandwidth for a more involved solution.

Status: Fixed » Closed (fixed)

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