HtmlFeatures

This is a list of features you can allow when using the sanitizedHtml function.

Values

ValueMeaning
images1

The <img> tag

css4

Inline CSS

cssLinkedResources8
video16

The html5 <video> tag. autoplay is always stripped out.

audio32

The html5 <audio> tag. autoplay is always stripped out.

objects64

The <object> tag, which can link to many things, including Flash.

iframes128

The <iframe> tag. sandbox and restrict attributes are always added.

classes256

The class="" attribute

forms512

HTML forms

Meta