mirror of
https://github.com/friendica/friendica
synced 2025-04-25 05:10:11 +00:00
handle escaped file chars in display and search
This commit is contained in:
parent
7581b32bb3
commit
53f799f2bc
5 changed files with 10 additions and 13 deletions
|
@ -87,7 +87,7 @@ function fileas_widget($baseurl,$selected = '') {
|
|||
$cnt = preg_match_all('/\[(.*?)\]/',$saved,$matches,PREG_SET_ORDER);
|
||||
if($cnt) {
|
||||
foreach($matches as $mtch) {
|
||||
$unescaped = file_tag_decode($mtch[1]);
|
||||
$unescaped = xmlify(file_tag_decode($mtch[1]));
|
||||
$terms[] = array('name' => $unescaped,'selected' => (($selected == $unescaped) ? 'selected' : ''));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue