Support » Plugins » [Plugin: Yet Another Related Posts Plugin] bug when there is no related posts

  • When I define what HTML should be outputted for “Default display if no results:” the HTML-code gets scrambled. I’ve put in the following:
    <div class="relatedposts norelatedposts"><p>No related posts</p></div>

    Which after I save it, turns into:
    <div class=\\\"relatedposts norelatedposts\\\"><p>No related posts</p></div>

    The amount of “\” increases after time… Anyone got a quickfix for it? Hopefully mitcho can get this one fixed pretty soon.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @jgabor – Hmm… I thought I’d squashed this bug already… :/

    What if you use single quotes ‘ instead of double-quotes ” ? Does that work? Try it out.

    Thread Starter jgabor

    (@jgabor)

    @mitchoyoshitaka – Unfortunately, single quotes doesn’t help (already tried that).

    Single quotes results in deletion of everything after the first quote, from:
    <div class="relatedposts norelatedposts"><p>Inga relaterade artiklar.</p></div>

    To:
    <div class="\

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Yet Another Related Posts Plugin] bug when there is no related posts’ is closed to new replies.