By jerry southwick on Wednesday, 11 February 2015
Posted in General Issues
Replies 6
Likes 0
Views 500
Votes 0
On the Author profile page, <br> tags get inserted above the profile text and in random places within the profile.
JoomlaCK editor content looks like this:
<p><strong>some text within the profile</strong></p>
<p> some information about the blogger </p>

That Translates in any browser to:
<p>
<br>
<strong>some text within the profile</strong></p>
<br>
<p> some information about the blogger </p>

any ideas why? seems to be pretty random as to when it happens. I've tried other editors, and some returns go away, but not all.
Hello Jerry,

In my opinion, you don't really need to put <p> in your content. You can try to remove the <p> tag and use <br> instead to add new line. Or you can provide us your backend and FTP so we can have a better look here.
·
Wednesday, 11 February 2015 10:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hiya Nick,

The <p> is irrelevant. That is code I put in or can take out. The <br>s are ADDED somehow by Easyblog, and I cannot figure out where they are coming from. Even if <p>'s are removed in the bio, there is too much spacing from the "automatic" <br> s.

What is the template that controls that page? Maybe I can figure it out from that...
·
Friday, 13 February 2015 05:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jerry,

I don't think Easyblog has added the <br> because I've tested it in my local. Here is the file you can take a look: ../components/com_easyblog/themes/default/blog.blogger.php
·
Friday, 13 February 2015 11:55
·
0 Likes
·
0 Votes
·
0 Comments
·
I can confirm it's adding them. I just turned on JCE editor to see if I could remove them. I can look at the code on the Author's bio and see ONLY <p> tags. When I view the page, there are <br /> tags added between the paragraphs. It's definitely being added by easyblog. I ended up just using breaks instead to get around it.

They probably aren't in the php files, they're being INJECTED into the page as it gets rendered.
·
Thursday, 19 February 2015 02:31
·
0 Likes
·
0 Votes
·
0 Comments
·
I also just used breaks instead... but I still don't totally care for the look. I tried to explain that they were getting "injected", but they only looked at the template page.

Moving on, but just know mystery breaks get added throughout blogger profiles
·
Thursday, 19 February 2015 03:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jerry,

I'm so sorry but I've tried Easyblog and I don't have the issue in my local.
·
Thursday, 19 February 2015 12:22
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post