Page MenuHomePhabricator

Add <section> tags for sections.
Closed, DuplicatePublic

Description

We would like to output semantic <section> markup for article sections, but currently are prevented from doing so because sections are not guaranteed to contain balanced content.

We should run tidy (or the new T89331: Replace HTML4 Tidy in MW parser with an equivalent HTML5 based tool) on each section of an article individually, to ensure that sections are balanced and that it is safe to wrap them with <section> tags.

Event Timeline

cscott created this task.Oct 1 2015, 7:28 PM
cscott raised the priority of this task from to Needs Triage.
cscott updated the task description. (Show Details)
cscott added projects: MediaWiki-Parser, Parsoid.
cscott added a subscriber: cscott.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 1 2015, 7:28 PM
cscott triaged this task as Normal priority.Oct 1 2015, 7:50 PM
cscott set Security to None.
cscott added subscribers: tstarling, ssastry.