Module z_tags

Generate a XHTML element with attributes, correctly escape all attributes.

Copyright © 2009 Marc Worrell <marc@worrell.nl> Based on code Copyright (c) 2008-2009 Rusty Klophaus Original author Tom McNulty <tom.mcnulty@cetiforge.com>

Authors: Marc Worrell (marc@worrell.nl).

Description

Generate a XHTML element with attributes, correctly escape all attributes.

Function Index

optional_escape_property/1
render_tag/2Render a tag with properties, return the tag text.
render_tag/3Render a tag into the context.
render_tag/4

Function Details

optional_escape_property/1

optional_escape_property(P) -> any()

render_tag/2

render_tag(TagName, Props) -> any()

Render a tag with properties, return the tag text. div has special handling as

is not allowed.

render_tag/3

render_tag(TagName, Props, Context) -> any()

Render a tag into the context

render_tag/4

render_tag(TagName, Props, Content, Context) -> any()


Generated by EDoc