Fix filenames not being properly unescaped in catalog replies.
This commit is contained in:
parent
c3158a1376
commit
8687587932
@ -233,7 +233,7 @@ Build =
|
||||
if data.com
|
||||
excerpt = Build.parseCommentDisplay(data.com).replace(/>>\d+/g, '').trim().replace(/\n+/g, ' // ')
|
||||
if data.ext
|
||||
excerpt or= "#{data.filename}#{data.ext}"
|
||||
excerpt or= "#{Build.unescape data.filename}#{data.ext}"
|
||||
if data.com
|
||||
excerpt or= Build.unescape data.com.replace(/<br\b[^<]*>/gi, ' // ')
|
||||
excerpt or= '\xA0'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user