Skip to content

Commit

Permalink
Merge pull request #68 from posthtml/milestone-0.8.5
Browse files Browse the repository at this point in the history
perf: content two dimensional array
  • Loading branch information
Scrum authored May 6, 2021
2 parents 9c8c3f8 + 14d353e commit f0b209b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
## <small>0.8.5 (2021-05-06)</small>

* perf: content two dimensional array ([8373816](https://github.com/posthtml/posthtml-parser/commit/8373816))



## <small>0.8.4 (2021-05-06)</small>

* 0.8.4 ([aaa0b3e](https://github.com/posthtml/posthtml-parser/commit/aaa0b3e))
* perf: attr value as number ([3d08ec5](https://github.com/posthtml/posthtml-parser/commit/3d08ec5))


Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "posthtml-parser",
"version": "0.8.4",
"version": "0.8.5",
"description": "Parse HTML/XML to PostHTMLTree",
"license": "MIT",
"repository": "posthtml/posthtml-parser",
Expand Down
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export type Options = {

export type Tag = string | boolean;
export type Attributes = Record<string, string | number | boolean>;
export type Content = NodeText | Node[];
export type Content = NodeText | Node[] | Node[][];

export type NodeText = string | number;
export type NodeTag = {
Expand Down

0 comments on commit f0b209b

Please sign in to comment.