escape tags when using markdown. Strange things happen if you put HTML entities in the text.
This commit is contained in:
parent
414d86d3a9
commit
b9dffa9107
@ -431,7 +431,7 @@ function item_post(&$a) {
|
||||
|
||||
if(local_user() && local_user() == $profile_uid && feature_enabled(local_user(),'markdown')) {
|
||||
require_once('include/bb2diaspora.php');
|
||||
$body = diaspora2bb($body,true);
|
||||
$body = diaspora2bb(escape_tags($body),true);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user