Skip to content

Commit

Permalink
Fix embedding of historical images (internal files)
Browse files Browse the repository at this point in the history
  • Loading branch information
edemaine committed Aug 12, 2024
1 parent 67329b9 commit 33e30d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ To see every change with descriptions aimed at developers, see
As a continuously updated web app, Coauthor uses dates
instead of version numbers.

## 2024-08-12

* Fix embedding of historical images (internal files)

## 2024-07-10

* Security fix for pdfjs, fixing [vulnerability to malicious PDF](https://github.com/advisories/GHSA-wgrm-67xf-hhpq)
Expand Down
3 changes: 2 additions & 1 deletion lib/formats.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -782,8 +782,9 @@ postprocessCoauthorLinks = (text, msgId) ->
return match unless fileMsg?
{attrs, prefix} = imageTitleAndWarning fileMsg, msgId
fileId = fileMsg.file
else
else # if isInternalFile
fileId = url2internalFile url
attrs = prefix = ''
file = findFile fileId
return match unless file?
prefix +
Expand Down

0 comments on commit 33e30d9

Please sign in to comment.