I’m using the trunchtml plugin and it works great, EXCEPT - I can’t seem to get the endings I specify in the tag to show up on the same line as the last line of the truncated text. Instead they show up on the next line (line break).
Here is my code:
<div class="postBody">
{exp:trunchtml chars="300" ending="... [ <a href='{path=blog/entry}'>continue reading</a> ]"} {blog_body}{/exp:trunchtml}
</div>
I’d like it to output like this:
this is the last line of text… [ continue reading ]
But instead it outputs like this (with a line break):
this is the last line of text
...[ continue reading ]