@social-mail/social-mail-web-server 1.9.20 → 1.9.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-web-server",
3
- "version": "1.9.20",
3
+ "version": "1.9.22",
4
4
  "description": "## Phase 1",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -112,7 +112,8 @@ export default class BlogContentTransformer {
112
112
  if (!file) {
113
113
  continue;
114
114
  }
115
-
115
+ element.setAttribute("data-original-src", a.value);
116
+ element.setAttribute("data-content-id", file.contentID);
116
117
  if (/video/i.test(file.contentType)) {
117
118
  if (a.name === "href") {
118
119
  element.setAttribute(a.name, urlService.toWebMLinkUrl({ eDomain, postID, file }));