Support » Fixing WordPress » WordPress short codes issue

  • So it seems that WordPress short codes likes to create extra li’s or maybe not. How ever I deduced it down to that being the case.

    I have this script that highlights code and shows it for people to read. If I put this into a shot code I get:

    li – code
    li
    li – code

    if I use divs and not do the whole short code. I get:

    li – code
    li – code

    So why would wordpress be inserting extra empty li’s in short codes?

  • The topic ‘WordPress short codes issue’ is closed to new replies.