| @@ -22,9 +22,9 @@ | ||
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | 24 | * @since 4.0 |
| 25 | 25 | * |
| 26 | - * @param array $args - Includes 'field', 'display', and 'values' | |
| 26 | + * @param array $args Includes 'field', 'display', and 'values'. | |
| 27 | 27 | * |
| 28 | 28 | * @return void |
| 29 | 29 | */ |
| 30 | 30 | public function show_primary_options( $args ) { |
| @@ -66,6 +66,20 @@ | ||
| 66 | 66 | * @return string |
| 67 | 67 | */ |
| 68 | 68 | protected function include_form_builder_file() { |
| 69 | 69 | return FrmAppHelper::plugin_path() . '/classes/views/frm-fields/back-end/field-html.php'; |
| 70 | + } | |
| 71 | + | |
| 72 | + /** | |
| 73 | + * Overwrite FrmFieldType::should_strip_most_html_before_preparing_display_value. | |
| 74 | + * An HTML field is not populated from user input. | |
| 75 | + * It does not need to be passed through FrmAppHelper::strip_most_html. | |
| 76 | + * | |
| 77 | + * @since 6.8.3 | |
| 78 | + * | |
| 79 | + * @param array $atts | |
| 80 | + * @return bool | |
| 81 | + */ | |
| 82 | + protected function should_strip_most_html_before_preparing_display_value( $atts ) { | |
| 83 | + return false; | |
| 70 | 84 | } |
| 71 | 85 | } |