fix "insert web link" for those without richtext feature enabled
This commit is contained in:
parent
8b5288d0f7
commit
8ab24858fb
3 changed files with 85 additions and 82 deletions
|
|
@ -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 />');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue