Skip to content

Commit

Permalink
correct inline/block tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dbushell committed Oct 4, 2024
1 parent de6f604 commit 756449a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dbushell/hyperless",
"version": "0.12.0",
"version": "0.13.0",
"exports": {
".": "./mod.ts"
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dbushell/hyperless",
"version": "0.12.0",
"version": "0.13.0",
"repository": {
"type": "git",
"url": "git+https://github.com/dbushell/hyperless.git"
Expand Down
18 changes: 9 additions & 9 deletions src/html-tags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,36 @@ export const inlineTags: Set<string> = new Set([
'bdi',
'bdo',
'br',
'button',
'cite',
'code',
'data',
'del',
'dfn',
'em',
'i',
'input',
'ins',
'img',
'kbd',
'label',
'mark',
'meter',
'output',
'progress',
'q',
'rp',
'rt',
'ruby',
's',
'samp',
'select',
'small',
'span',
'strong',
'sub',
'sup',
'textarea',
'time',
'u',
'var',
Expand All @@ -48,7 +57,6 @@ export const blockTags: Set<string> = new Set([
'base',
'blockquote',
'body',
'button',
'canvas',
'caption',
'col',
Expand Down Expand Up @@ -78,33 +86,26 @@ export const blockTags: Set<string> = new Set([
'hr',
'html',
'iframe',
'img',
'input',
'label',
'legend',
'li',
'link',
'main',
'map',
'menu',
'meta',
'meter',
'nav',
'noscript',
'object',
'ol',
'optgroup',
'option',
'output',
'p',
'param',
'picture',
'pre',
'progress',
'script',
'search',
'section',
'select',
'slot',
'source',
'style',
Expand All @@ -114,7 +115,6 @@ export const blockTags: Set<string> = new Set([
'tbody',
'td',
'template',
'textarea',
'tfoot',
'th',
'thead',
Expand Down

0 comments on commit 756449a

Please sign in to comment.