Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author kochm

    (@kochm)

    Yes, we have inserted some extra hard returns, because some browsers have problems with too long lines – and usually, this should not be a problem.

    Can you please give me more details which hard return causes problems for your layout?

    Thread Starter poundsixzeros

    (@poundsixzeros)

    Hi,
    Thanks for your reply. Here is an example:https://bit.ly/1L5OAnG

    WHen I look at the page source, there is a line between each entry: <br clear=”all”>. If I remove it in source code on mendeley.php nothing changes on the front end so is it coming from somewhere else? That could be a caching issue tho.
    Edited: added caching sentence

    Plugin Author kochm

    (@kochm)

    The problematic part is in line 843 (wp-mendeley.php):
    $result .= “<br clear=’all’/>/n”;
    The line was added to make the display of the newly provided cover images nice – but produces some side effects when no cover images are used.
    I will change the line to:
    if (!$textonly) {
    if ($showcover) {
    $result .= “<br clear=’all’/>”;
    }
    }
    $result .= “\n”;
    in the next version – that should do it. You might include the patch in your plugin code in the meantime to solve it for your site.

    Thread Starter poundsixzeros

    (@poundsixzeros)

    Excellent! Worked perfectly. Thank you!
    I wonder if the csl would be a better place to put the style change? Just thinking out loud – I don’t know what the cover image is or where it comes from so if they’re unrelated, please pardon my ignorance ??
    Thanks again for the fix!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Extra space between entries’ is closed to new replies.