mirror of
https://github.com/transmission/transmission
synced 2024-12-27 18:18:10 +00:00
(trunk, web) fix #5055 'torrents that include HTML in the comment section don't display properly in the web browser.'
This commit is contained in:
parent
126583ba85
commit
ed2d2de530
1 changed files with 1 additions and 1 deletions
|
@ -404,7 +404,7 @@ function Inspector(controller) {
|
||||||
}
|
}
|
||||||
if(!str)
|
if(!str)
|
||||||
str = none;
|
str = none;
|
||||||
setTextContent(e.comment_lb, str.replace(/(https?|ftp):\/\/([\w\-]+(\.[\w\-]+)*(\.[a-z]{2,4})?)(\d{1,5})?(\/([^<>\s]*))?/g, '<a target="_blank" href="$&">$&</a>'));
|
setTextContent(e.comment_lb, str);
|
||||||
|
|
||||||
//
|
//
|
||||||
// origin
|
// origin
|
||||||
|
|
Loading…
Reference in a new issue