html_strip.asciidoc 931 B

1234567891011121314151617181920212223242526
  1. [[htmlstrip-processor]]
  2. === HTML Strip Processor
  3. Removes HTML tags from the field. If the field is an array of strings, HTML tags will be removed from all members of the array.
  4. NOTE: Each HTML tag is replaced with a `\n` character.
  5. [[htmlstrip-options]]
  6. .HTML Strip Options
  7. [options="header"]
  8. |======
  9. | Name | Required | Default | Description
  10. | `field` | yes | - | The string-valued field to remove HTML tags from
  11. | `target_field` | no | `field` | The field to assign the value to, by default `field` is updated in-place
  12. | `ignore_missing` | no | `false` | If `true` and `field` does not exist, the processor quietly exits without modifying the document
  13. include::common-options.asciidoc[]
  14. |======
  15. [source,js]
  16. --------------------------------------------------
  17. {
  18. "html_strip": {
  19. "field": "foo"
  20. }
  21. }
  22. --------------------------------------------------
  23. // NOTCONSOLE