Bug: adding ol breaks css in theme

Home Forums Support Bug: adding ol breaks css in theme

Home Forums Support Bug: adding ol breaks css in theme

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #209035
    Max

    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
    #209037
    Max

    Happens regardless of if you use a function to strip html

    #209051
    Tom
    Lead Developer
    Lead Developer

    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.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.