xforms-spec
xforms-spec copied to clipboard
Document approach to styling
- Body can't contain arbitrary markup as in W3C XForms
- Certain body elements can contain markup (e.g. labels)
- Markdown and a subset of HTML are supported
Reference implementation: https://github.com/getodk/collect/blob/master/collect_app/src/main/java/org/odk/collect/android/utilities/HtmlUtils.java#L23
Clients should either render the styling or strip it out.