@tryghost/mg-substack 0.8.4 → 0.8.5

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.
Files changed (2) hide show
  1. package/lib/process.js +4 -0
  2. package/package.json +2 -2
package/lib/process.js CHANGED
@@ -146,6 +146,10 @@ const processContent = (post, siteUrl, options) => {
146
146
  $(el).remove();
147
147
  });
148
148
 
149
+ $html('div.poll-embed').each((i, el) => {
150
+ $(el).remove();
151
+ });
152
+
149
153
  $html('.image3').each((i, el) => {
150
154
  const attrs = $(el).attr('data-attrs');
151
155
  const attrsObj = JSON.parse(attrs);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/mg-substack",
3
- "version": "0.8.4",
3
+ "version": "0.8.5",
4
4
  "repository": "https://github.com/TryGhost/migrate/tree/main/packages/mg-substack",
5
5
  "author": "Ghost Foundation",
6
6
  "license": "MIT",
@@ -37,5 +37,5 @@
37
37
  "simple-dom": "1.4.0",
38
38
  "srcset": "5.0.1"
39
39
  },
40
- "gitHead": "2cc65b7a0a9a9c14a5088382da8c0a75f58d8df3"
40
+ "gitHead": "614571603585add8915fc853d0081208c2382a44"
41
41
  }