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/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/1

optional_escape(S) -> 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, Dec 21 2014, 21:51:55.