Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: remarkjs/remark-html
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 13.0.0
Choose a base ref
...
head repository: remarkjs/remark-html
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 13.0.1
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Oct 3, 2020

  1. Update mdast-util-to-hast

    wooorm committed Oct 3, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    wooorm Titus
    Copy the full SHA
    7a8cb0e View commit details
  2. 13.0.1

    wooorm committed Oct 3, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    wooorm Titus
    Copy the full SHA
    c0b2f69 View commit details
Showing with 3 additions and 7 deletions.
  1. +1 −5 index.js
  2. +2 −2 package.json
6 changes: 1 addition & 5 deletions index.js
Original file line number Diff line number Diff line change
@@ -16,11 +16,7 @@ function plugin(options) {

function compiler(node, file) {
var root = node && node.type && node.type === 'root'
var hast = toHast(node, {
allowDangerousHtml: !clean,
handlers: handlers,
commonmark: true
})
var hast = toHast(node, {allowDangerousHtml: !clean, handlers: handlers})
var result

if (file.extname) {
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "remark-html",
"version": "13.0.0",
"version": "13.0.1",
"description": "remark plugin to compile Markdown to HTML",
"license": "MIT",
"keywords": [
@@ -36,7 +36,7 @@
"dependencies": {
"hast-util-sanitize": "^3.0.0",
"hast-util-to-html": "^7.0.0",
"mdast-util-to-hast": "^9.0.0"
"mdast-util-to-hast": "^10.0.0"
},
"devDependencies": {
"browserify": "^16.0.0",