UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
Our team is away during the weekend. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!
  Support is offline

Problem with frontpage blog truncation

Christina · ·
1:40 AM Tuesday, 23 September 2014
None
I've set my blog to truncate on the front page using the "By break tags" option (By "character" or "word" truncation isn't an option as they look terrible in my case, and "By paragraph" isn't an option either for other reasons).

But there seems to be a problem: I've set it to truncate after 5 break tags, and it does truncate, BUT it also seems to add the next two characters that come after the end of the last br tag. So if I had a sixth BR tag coming after the fifth, EasyBlog would add in the first two characters of the next tag, in this case <b. It then is "smart" enough to complete the tag. And it does it like this:
<b <!--="" @trigger:="" onafterdisplaycontent="" --=""> The entire next post on my front page is within this bold tag, thus the whole next post is bold when shown on the front page. </b>


This is a big problem. It sometimes happens when the tag after the fifth br is a span tag, which then makes the next post below it on the front page a strikethrough (because it turns it into the <s> tag). Or if it's just text after the fifth BR tag, then the first two characters of the next "paragraph" show up, which of course looks weird.

Any ideas why it's adding in the two characters after the fifth/final BR tag? I have my BR tags formatted like this: <br />
The replies under this section are restricted to logged in users or users with an active subscription with us