GravityKit / GravityView

The best and easiest way to display Gravity Forms entries on your website.
https://www.gravitykit.com/products/gravityview/
245 stars 63 forks source link

Add `gv-field-raw-html.php` field template #1043

Open zackkatz opened 6 years ago

zackkatz commented 6 years ago

We had to revert sanitized output for now, because of escaped HTML causing issues like in #1031. In the future, we should have all fields default to using the sanitized gv-field-html.php template, and then allowlist specific fields using the GravityView_Plugin_and_Theme_Hooks class.

This affects the Gravity Flow "Discussion" field (#1031), pricing fields, and potentially others.

zackkatz commented 2 years ago

This is part of a bigger question about how we use templates moving forward. There's a lot of mixing of logic and output.