Skip to content

Commit

Permalink
html fixes: escaping of invalid characters in URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstadler committed Oct 10, 2016
1 parent 4bca43f commit 23c54d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/app.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ declare function app:print-beacon-links($node as node(), $model as map(*)) as el
for $i in map:keys($beaconMap)
order by $beaconMap($i)[2] collation "?lang=de-DE"
return
<li><a title="{$i}" href="{$beaconMap($i)[1]}">{$beaconMap($i)[2]}</a></li>
<li><a title="{$i}" href="{(: replacement for invalid links from www.sbn.it :)replace($beaconMap($i)[1], '\\', '%5C')}">{$beaconMap($i)[2]}</a></li>
}</ul>
};

Expand Down

0 comments on commit 23c54d0

Please sign in to comment.