Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
Update hast-to-hyperscript
Browse files Browse the repository at this point in the history
Closes GH-57.

Reviewed-by: Titus Wormer <tituswormer@gmail.com>

Co-authored-by: Titus Wormer <tituswormer@gmail.com>
  • Loading branch information
stefanprobst and wooorm committed Nov 25, 2018
1 parent 4278406 commit 4b130af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"dependencies": {
"@mapbox/hast-util-table-cell-style": "^0.1.3",
"hast-to-hyperscript": "^4.0.0",
"hast-to-hyperscript": "^5.0.0",
"hast-util-sanitize": "^1.0.0",
"mdast-util-to-hast": "^3.0.0"
},
Expand Down
6 changes: 3 additions & 3 deletions test/react/v0.14/fixtures/references/output.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div><h1>References</h1>
<p>Entities contains some serious entity tests relating to titles and links
in definitions.</p>
<p>However, the [missing], <a href="">missing</a>, and <a href="">missing</a> are omitted.</p>
<p>However, the ![missing], <img src="" alt="missing"/>, and <img src="" alt="missing"/> are omitted.</p>
<p>Same goes for <a href=""></a> and <img src=""/>.</p></div>
<p>However, the [missing], [missing][], and [missing][missing] are omitted.</p>
<p>However, the ![missing], ![missing][], and ![missing][missing] are omitted.</p>
<p>Same goes for [][empty] and ![null][empty].</p></div>

0 comments on commit 4b130af

Please sign in to comment.