1
0
Fork 0

fix "insert web link" for those without richtext feature enabled

This commit is contained in:
friendica 2012-12-03 16:31:28 -08:00
commit 8ab24858fb
3 changed files with 85 additions and 82 deletions

View file

@ -239,6 +239,9 @@ function parse_url_content(&$a) {
if(local_user() && intval(get_pconfig(local_user(),'system','plaintext')))
$textmode = true;
if(local_user() && (! feature_enabled(local_user(),'richtext')))
$textmode = true;
//if($textmode)
$br = (($textmode) ? "\n" : '<br />');