reconciliation-api / specs

Specifications of the reconciliation API
https://reconciliation-api.github.io/specs/draft/
30 stars 9 forks source link

Move <dl> elements out of <p> elements #151

Open wetneb opened 6 months ago

wetneb commented 6 months ago

Quoting @osma from https://github.com/reconciliation-api/specs/pull/149#discussion_r1426561312:

HTML nitpick: Isn't <dl> a block element in HTML? It shouldn't be placed inside <p> like this, right?

Creating a specific issue for it since we seem to have consistently included <dl> elements in <p> elements throughout the specs.

osma commented 6 months ago

Maybe using an HTML validator would help? I seem to remember seeing other problematic HTML structures as well, mixing up different kinds of list elements (<dd>...</li> or something along those lines)

wetneb commented 6 months ago

Yes, we could potentially add an HTML validator to the CI.