WordPress.org

Support

Support » Plugins and Hacks » tf Song List » [Resolved] Slashes next to apostrophes ex: DON\'T

[Resolved] Slashes next to apostrophes ex: DON\'T

Viewing 4 replies - 1 through 4 (of 4 total)
  • David Cleveland

    @davidclevelandesignscom

    Oh, also if you notice, there are unexplained space differences between songs. I’m not sure why but any help on that would be appreciated too.

    David Cleveland

    @davidclevelandesignscom

    it appears that this call might be in the PHP somewhere “addslashes()”

    Plugin Contributor Thorsten Frommen

    @ipm-frommen

    I already answered this via e-mail, but I will add this here as well.

    What you call “unusual, random spacing” is, in fact, spacing before a group of songs starting with a new first letter (e.g., after all songs starting with an A, there’s some space before the group of songs starting with the letter B, and so on…).

    To turn off this behavior, take a look at the FAQ:
    -> http://ipm-frommen.de/wordpress/tf-song-list#faq

    In short, add the following to your stylesheet:

    /* Song row style for new first letter */
    #tfsl-the-list tr.new-first-letter td {
    padding-top: 0;
    }

    As for the apostrophes and slashes: I have updated the plugin.
    Since WordPress automatically add slashes to $_POST data, the songs added by hand (and not via import) were escaped twice, while unescaped only once.

    David Cleveland

    @davidclevelandesignscom

    terrific, thank you. After posting this I did notice that it was spacing after each first letter change. Thank you for the CSS to remove it, worked great. Also, thanks for the update to get rid of that slash. Much appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Slashes next to apostrophes ex: DON\'T’ is closed to new replies.
Skip to toolbar