APIv4: Normalize option list descriptions as plain text
authorColeman Watts <coleman@civicrm.org>
Thu, 17 Dec 2020 21:15:11 +0000 (16:15 -0500)
committerColeman Watts <coleman@civicrm.org>
Thu, 17 Dec 2020 21:15:11 +0000 (16:15 -0500)
commit3068cf0f945471e7777e1dc9858eba00c6b13ee9
tree85ce2d62ae69cda71bddd47478987f8bb4751468
parent468c3403a7c8c476a8e783817ba3d5edc7b5da44
APIv4: Normalize option list descriptions as plain text

Our schema is inconsistent about whether `description` fields allow html,
but it's usually assumed to be plain text, so we strip_tags() to standardize it.
Civi/Api4/Service/Spec/FieldSpec.php