Merge branch 'small-fixes-and-improvements' into shigusegubu-themes3
This commit is contained in:
commit
85dd3962d2
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
import { parseLinkHeader } from '@web3-storage/parse-link-header'
|
import { parseLinkHeader } from '@web3-storage/parse-link-header'
|
||||||
import escapeHtml from 'escape-html'
|
import escapeHtml from 'escape-html'
|
||||||
|
import { unescape } from 'lodash'
|
||||||
import punycode from 'punycode.js'
|
import punycode from 'punycode.js'
|
||||||
|
|
||||||
import fileTypeService from '../file_type/file_type.service.js'
|
import fileTypeService from '../file_type/file_type.service.js'
|
||||||
|
|
@ -307,7 +308,7 @@ export const parseAttachment = (data) => {
|
||||||
}
|
}
|
||||||
output.url = data.url
|
output.url = data.url
|
||||||
output.large_thumb_url = data.preview_url
|
output.large_thumb_url = data.preview_url
|
||||||
output.description = data.description
|
output.description = unescape(data.description)
|
||||||
|
|
||||||
return output
|
return output
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue