Support » Plugins » [Plugin: Link Library] LL changes the optional code I enter to style links

  • I’m trying to put a span class around the link descriptions using LL, but when I put the code I want into the corresponding space on the LL Dashboard panel, LL changes it and outputs something different than what wrote.

    If I enter <span class="press_quote">, the resulting code will be <span class=\"press_quote\">

    If I enter <span class=press_quote>, it puts a quote mark at the end of the class name but not the beginning, ie <span class=press_quote">

    If I try and cheat by using &quot; or think perhaps it wants single quotes, it outputs exactly what I’ve put in (of course).

    Any ideas as to what’s up?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Indeed. Would single quote be sufficient instead of double-quotes?

    I just did an update (3.2.1) that allows for single quotes in the configuration table. Will look into double-quotes but the fix that I did still does not allow for them.

    Yannick

    Hi Yannick – very much appreciate you chiming in. 🙂

    Well, I just tried it out with single quotes and it still put/s in, resulting in <span class=\'press_quote\'> (Should it still be doing that, after the fix you just did?)

    The other problem with single quotes is that I’m trying to get the page to validate so I can tackle yet another problem I’m having with that span. I don’t think single quotes are kosher to the validator (though I could be wrong.)

    Suggestions? 🙂
    Tracy

    Okay, I just tried something that seems to solve my problem at least. I took out the class name of the span (and changed it to a div) and just styled it based on the things that came before it (ie, #linklist1.linklist .press ul li div) and that worked, and the validator liked it too. But it would still be nice to figure out how to call out classes and stuff for future. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Link Library] LL changes the optional code I enter to style links’ is closed to new replies.