Site logo

Archived topic

Bug: adding ol breaks css in theme

2 replies · Started by Max on July 12, 2016

Viewing posts 1–3 of 3

Tom

My sincere apologies.

I appear to have broken one of you other threads here:

https://generatepress.com/forums/topic/footer-widget-spacing/#post-209031

I tried to delete my error post but I am unable. edit doesn't work.

The bug arises if you use ol codes in a reply. Any idea what is causing this and what can be done to eliminate it? It affects a lot of css eg the member avatars get messed up along with formating such as button spacing.

    sdfdfsd
    sfsdfdf

Happens regardless of if you use a function to strip html

As long as you close the HTML elements, it won't happen:

  1. One
  2. Two
  3. Three
<ol>
<li>One</li>
<li>Two</li>
<li>Three</li>
</ol>

Same thing anywhere with HTML - every element than opens must be closed.

This archived topic is closed to new replies.