@hackage / xml-types-content

Utilities for dealing with Content-values of "xml-types"

Latest0.0.1.1

About

Metadata

  • Last updated , by NikitaVolkov
  • License MIT
  • Maintained by: Nikita Volkov <nikita.y.volkov@mail.ru>

  • Lottery factor: 1

Links

Installation

Readme

The Content type in "xml-types" is tricky and naive usage of it can lead to bugs. You cannot simply construct ContentText from any textual value. You must encode certain character ranges via entities. This library does that for you by providing mappers from Text to `[Content]`.