Close the paragraph before rendering the list
authorDaniel Gustafsson <daniel@yesql.se>
Tue, 10 Aug 2021 14:28:24 +0000 (16:28 +0200)
committerDaniel Gustafsson <daniel@yesql.se>
Tue, 10 Aug 2021 14:28:24 +0000 (16:28 +0200)
Lists aren't allowed inside paragraphs as both per HTML 4.01 and 5.
Make sure so clos, and re-open, the paragraph on each side of the
list since that's what the browsers will have to do anyways, so we
might as well control it (and be standards compliant).

templates/core/community.html

index fe2f2c0fb9c76784049fff6696a406ef00c1ea15..ef94716ee0a513b5590bd101f2e7d6240138efc4 100644 (file)
@@ -6,12 +6,14 @@
       <h1>Community <i class="fa fa-users"></i></h1>
       <p>
         PostgreSQL is well-supported by its active community. There are more than a dozen <a href="https://lists.postgresql.org/">mailing lists</a> available, categorized into topics like:
+      </p>
         <ul>
           <li><a href="/list/pgsql-announce/">Announcements</a></li>
           <li><a href="/list/pgsql-hackers/">PostgreSQL development</a></li>
           <li><a href="/list/pgsql-general/">General PostgreSQL Support</a></li>
           <li><a href="/list/pgsql-jobs/">Jobs</a></li>
         </ul>
+      <p>
         and more. We also have many local <a href="/community/user-groups/">PostgreSQL User Groups</a> all over the world, and there is also an active <a href="/community/irc/">IRC</a> &amp; <a href="https://postgres-slack.herokuapp.com/" target="_blank" rel="noopener">Slack</a> community.
       </p>
       <p>