dt is not in the default block-tags list #236

Closed
opened 4 years ago by matteodelabre · 1 comments
matteodelabre commented 4 years ago (Migrated from github.com)

Thanks for your much-appreciated work on Pollen.

The <dt> tag does not seem to be in Pollen’s block-tags list but appears instead in the inline-tags list. This is not consistent with MDN’s classification of block-level tags, which is linked in Pollen’s docs. I noticed this because decode was wrapping my <dt>s with <p> tags, which produces invalid HTML.

Is this intended?

Thanks for your much-appreciated work on Pollen. The `<dt>` tag does not seem to be in Pollen’s [`block-tags` list](https://github.com/mbutterick/pollen/blob/bd154d2a2dc1612b7ce3a7e535247cbfe118d4cd/pollen/setup.rkt#L85) but appears instead in the `inline-tags` list. This is not consistent with [MDN’s classification](https://developer.mozilla.org/en-US/docs/Web/HTML/Block-level_elements#Elements) of block-level tags, which is linked in Pollen’s docs. I noticed this because `decode` was wrapping my `<dt>`s with `<p>` tags, which produces invalid HTML. Is this intended?
mbutterick commented 4 years ago (Migrated from github.com)

Thanks! Accidental omission, I guess.

Thanks! Accidental omission, I guess.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/pollen#236
Loading…
There is no content yet.