Flags

class domilite.dom_tag.Flags(value)[source]

Bases: Flag

Set rendering properties of individual tags

Attributes Summary

INLINE

When possible, this tag should be shown inline with thte parent tag.

PRETTY

This tag should have formatted content rendered with indentation

SINGLE

This tag is self-closing

Attributes Documentation

INLINE = 4

When possible, this tag should be shown inline with thte parent tag.

PRETTY = 2

This tag should have formatted content rendered with indentation

SINGLE = 1

This tag is self-closing