Skip to content

Releases: Fulfillment-dot-com/fluidxml

Special Character encoding

20 Aug 17:42
Compare
Choose a tag to compare

Uses htmlentities to encode simple string value if the user provides options for it

  • Can optimistically encode or catch exception and retry element creation with encoded value by passing args for htmlentities as an array with key of either htmlentities or exceptionHtmlentities based on which behavior is desired
  • Provide defaults for encode options through constructor
  • Can override defaults through $optionals param for addChild