imdone-core 1.44.3 → 1.44.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.
package/lib/card.js CHANGED
@@ -296,7 +296,7 @@ module.exports = function newCard(task, _project, dontParse) {
296
296
  imagePath = _path.join(
297
297
  _path.dirname(this.fullPath),
298
298
  imagePath
299
- )
299
+ ).replace(/ /g, '%20')
300
300
  const imageURL = `file://${imagePath}`
301
301
  return p1 + imageURL + p3
302
302
  }
package/lib/project.js CHANGED
@@ -15,6 +15,7 @@ const exec = require('child_process').exec
15
15
  const fastSort = require('fast-sort/dist/sort.js')
16
16
  const Task = require('./task')
17
17
  const eol = require('eol')
18
+ const { renderMarkdown } = require('./adapters/markdown')
18
19
 
19
20
  function calculateTotals(lists) {
20
21
  const totals = {}
@@ -777,4 +778,8 @@ module.exports = class WorkerProject extends Project {
777
778
  })
778
779
  })
779
780
  }
781
+
782
+ renderMarkdown(content) {
783
+ return renderMarkdown(content)
784
+ }
780
785
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imdone-core",
3
- "version": "1.44.3",
3
+ "version": "1.44.5",
4
4
  "description": "imdone-core",
5
5
  "main": "index.js",
6
6
  "scripts": {