@tryghost/mg-substack 1.7.0 → 1.8.0
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/lib/process.js +4 -0
- package/package.json +3 -3
package/lib/process.js
CHANGED
|
@@ -138,6 +138,10 @@ const processContent = (post, siteUrl, options) => {
|
|
|
138
138
|
}
|
|
139
139
|
});
|
|
140
140
|
|
|
141
|
+
parsed.$('h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong, h1 b, h2 b, h3 b, h4 b, h5 b, h6 b').forEach((el) => {
|
|
142
|
+
replaceWith(el, serializeChildren(el));
|
|
143
|
+
});
|
|
144
|
+
|
|
141
145
|
// Wrap these in a HTML card so they can be handled by publishers as needed
|
|
142
146
|
parsed.$('div.latex-rendered').forEach((el) => {
|
|
143
147
|
insertBefore(el, '<!--kg-card-begin: html-->');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/mg-substack",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/TryGhost/migrate.git",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"html-entities": "2.6.0",
|
|
30
30
|
"simple-dom": "1.4.0",
|
|
31
31
|
"srcset": "5.0.3",
|
|
32
|
-
"@tryghost/mg-utils": "0.
|
|
33
|
-
"@tryghost/mg-
|
|
32
|
+
"@tryghost/mg-fs-utils": "0.26.2",
|
|
33
|
+
"@tryghost/mg-utils": "0.11.2"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"dev": "echo \"Implement me!\"",
|