From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
Cc: | PostgreSQL www <pgsql-www(at)postgresql(dot)org> |
Subject: | Re: Fix nested paragraphs on event list |
Date: | 2017-02-06 17:40:49 |
Message-ID: | CABUevExcTUP_GAV5_958zx2hJTbPVqF8cTJ05dGYT1cGoE8b_A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-www |
On Mon, Jan 30, 2017 at 8:29 AM, Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:
> 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.
>
Pushed, thanks.
--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2017-02-08 21:23:39 | GSoC 2017 update |
Previous Message | Peter Eisentraut | 2017-02-02 21:47:20 | escapes in submitted docs comments |