By Emanuel Rosenzweig on Sunday, 10 January 2016
Posted in Technical Issues
Replies 5
Likes 0
Views 358
Votes 0
No mater what editor I use,
though the Author's biography looks good in the editor, saved well to the database (I checked in phpMyAdmin),
on rendering in the backend and frontend as well, between the paragraph tags, a <BR> is been added.
Only in the Author's bio...

The site is locally developing, so there is no link to provide.
Hey Emanuel,

We actually perform "nl2br" on the biography because when you entered a newline, it should get converted to a break. If you don't want this, you can edit the file /administrator/components/com_easyblog/tables/profile.php and at line 417 locate the codes below:


$biography = $raw ? $this->biography : nl2br($this->biography);


Replace it with,


$biography = $this->biography;
·
Sunday, 10 January 2016 12:35
·
0 Likes
·
0 Votes
·
0 Comments
·
If we use an editor for the biography, why forcing the BR from the beginning?
Anyway, thanks!!!
·
Sunday, 10 January 2016 15:06
·
0 Likes
·
0 Votes
·
0 Comments
·
No problem Emanuel. You are right, it should check if it's using a wysiwyg editor. Download the attached file and upload it into /administrator/components/com_easyblog/tables/
·
Sunday, 10 January 2016 15:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Nice!
Thanks!!!
·
Sunday, 10 January 2016 15:48
·
0 Likes
·
0 Votes
·
0 Comments
·
No problem
·
Sunday, 10 January 2016 15:51
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post