Skip to content
  • Damyon Wiese's avatar
    MDL-61378 forum: Standardize HTML output for posts · 1bf3a76a
    Damyon Wiese authored
    Improve the format of the HTML representing a forum post.
    
    1. Use <article> tag to mark it correctly.
    2. Use <time> tag to include the real datetime information.
    3. Use <address> tag to specify who and when the post came from.
    4. Use heading level tags to mark the subject of each post.
    5. Properly nest reply posts within their parent <article>
    6. Use a header tab for each article to split the metadata from the content.
    7. Use CSS to separate links, not text content.
    
    Because posts are now nested properly, the heading for each one refers to it's own article
    and we don't need to generate arbitrary heading level tags depending on how deep the post
    is nested.
    1bf3a76a