Fix double-escaped HTML in mapstraction notice popups
This commit is contained in:
parent
46c5a52810
commit
1ca022464a
@ -226,8 +226,8 @@ class MapstractionPlugin extends Plugin
|
|||||||
|
|
||||||
$arr = $act->twitterStatusArray($notice, true);
|
$arr = $act->twitterStatusArray($notice, true);
|
||||||
$arr['url'] = $notice->bestUrl();
|
$arr['url'] = $notice->bestUrl();
|
||||||
$arr['html'] = htmlspecialchars($notice->rendered);
|
$arr['html'] = $notice->rendered;
|
||||||
$arr['source'] = htmlspecialchars($arr['source']);
|
$arr['source'] = $arr['source'];
|
||||||
|
|
||||||
if (!empty($notice->reply_to)) {
|
if (!empty($notice->reply_to)) {
|
||||||
$reply_to = Notice::staticGet('id', $notice->reply_to);
|
$reply_to = Notice::staticGet('id', $notice->reply_to);
|
||||||
|
Loading…
Reference in New Issue
Block a user