pyorg.convert.html.element module¶
-
class
pyorg.convert.html.element.HtmlElement(tag, children=None, attrs=None, inline=False, post_ws=False)[source]¶ Bases:
objectLightweight class to represent an HTML element.
-
inline¶ Whether to render children in an inline context. If False each child will be rendered on its own line. If True whitespace will only be added before/after children according to the
post_wsattribute of the child.Type: bool
-
classes
-