WordPress.org

Ready to get started?Download WordPress

Forums

WordPress short codes issue (1 post)

  1. Adam
    Member
    Posted 2 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic