getodk / getodk/xforms-spec

Document approach to styling

Open
#308 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
CSS
Stars
34
Forks
28
Avg merge
27m
Merged PRs (30d)
1

Description

* 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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the styling requirements in this issue and the referenced collect_app/src/main/java/org/odk/collect/android/utilities/HtmlUtils.java implementation. Document which Markdown and HTML styling is supported, including body and label content, and specify that clients must render or strip unsupported styling.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, markdown
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.