Skip to content

HTMLs

Attribute Value Detail
name html Used in schema definitions
label HTML plural: HTMLs
max_length 65000 Space to be allocated in fixed-length database definitions
matchable Suitable for use in entity matching
pivot Suitable for use as a pivot point for connecting to other entities

Python API

followthemoney.types.HTMLType

Bases: StringType

Properties that contain raw hypertext markup (HTML).

User interfaces rendering properties of this type need to take extreme care not to allow attacks such as cross-site scripting. It is recommended to perform server-side sanitisation, or to not render this property at all.

Source code in followthemoney/types/string.py
class HTMLType(StringType):
    """Properties that contain raw hypertext markup (HTML).

    User interfaces rendering properties of this type need to take extreme
    care not to allow attacks such as cross-site scripting. It is recommended
    to perform server-side sanitisation, or to not render this property at all.
    """

    name = "html"
    label = _("HTML")
    plural = _("HTMLs")
    total_size = 30 * MEGABYTE
    max_length = 65000