| From: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
|---|---|
| To: | PostgreSQL www <pgsql-www(at)postgresql(dot)org> |
| Subject: | Fix nested paragraphs on event list |
| Date: | 2017-01-30 07:29:26 |
| Message-ID: | 720986A5-046E-414C-8C17-7B218187678C@yesql.se |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-www |
The event list on /about/events/ fails validation due to nesting a block-level
element (in this case a <p>) inside a <p> paragraph. The <p> element is a
block-level element which prohibits any other nested block-level elements such
as <div> but also <p> itself. The culprit is the markdown filter which renders
using <p> elements.
Attached patch replace the <p> element wrapping the rendered event summary with
a <div> instead. Since browsers close the currently open <p> when encountering
a block-level element, this should not introduce any visible changes but since
I don’t have a staging environment it needs testing.
cheers ./daniel
| Attachment | Content-Type | Size |
|---|---|---|
| event_nested_p.patch | application/octet-stream | 1.2 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2017-02-02 21:47:20 | escapes in submitted docs comments |
| Previous Message | Magnus Hagander | 2017-01-29 12:35:01 | Re: More http -> https |