diff --git a/package.json b/package.json index 47ee9f7..609ca78 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "dependencies": { "@babel/standalone": "^7.4.5", "he": "^1.2.0", - "marked": "^0.3.12" + "marked": "^0.7.0" }, "devDependencies": { "@babel/cli": "^7.0.0", diff --git a/src/__snapshots__/index.test.js.snap b/src/__snapshots__/index.test.js.snap index a67663c..ac01603 100644 --- a/src/__snapshots__/index.test.js.snap +++ b/src/__snapshots__/index.test.js.snap @@ -203,11 +203,9 @@ exports[`should be able to compile list 1`] = ` exports[`should be able to compile list with html tag 1`] = `
+ <font color="red"> this is root red text </font> +
- <div>hello</div> -<strong>there</strong> -<em>world</em> -
-- <div>hello</div> -<strong>there</strong> -<em>world</em> -
+ + there + + + + + world + +