Some older threads (/s/12370429, /tg/15396072) have , for commas.

This commit is contained in:
ccd0 2015-04-25 16:30:37 -07:00
parent a6ce87477e
commit d0dbf76c08

View File

@ -5,8 +5,8 @@ Build =
unescape: (text) ->
return text unless text?
text.replace(/<[^>]*>/g, '').replace /&(amp|#039|quot|lt|gt);/g, (c) ->
{'&amp;': '&', '&#039;': "'", '&quot;': '"', '&lt;': '<', '&gt;': '>'}[c]
text.replace(/<[^>]*>/g, '').replace /&(amp|#039|quot|lt|gt|#44);/g, (c) ->
{'&amp;': '&', '&#039;': "'", '&quot;': '"', '&lt;': '<', '&gt;': '>', '&#44;': ','}[c]
shortFilename: (filename) ->
threshold = 30