Skip to content

Instantly share code, notes, and snippets.

@kevinmarks
Created April 11, 2023 17:43
Show Gist options
  • Save kevinmarks/7e6bab548e943e1264ac35c797d7e543 to your computer and use it in GitHub Desktop.
Save kevinmarks/7e6bab548e943e1264ac35c797d7e543 to your computer and use it in GitHub Desktop.
Parsed pathological html
{
"rels": {},
"items": [
{
"id": "navigation",
"type": [
"h-navigation",
"h-section"
],
"properties": {},
"children": [
{
"type": [
"h-section-fluid-container",
"h-section-grid-container"
],
"properties": {},
"children": [
{
"type": [
"h-row-container",
"h-section-boxed-container"
],
"properties": {},
"children": [
{
"type": [
"h-row"
],
"properties": {},
"children": [
{
"type": [
"h-col-none",
"h-column",
"h-column-container"
],
"properties": {},
"children": [
{
"type": [
"h-flex-basis"
],
"properties": {},
"children": [
{
"type": [
"h-y-container"
],
"properties": {},
"children": [
{
"type": [
"h-dropdown-menu",
"h-element",
"h-global-transition-all",
"h-ignore-global-body-typography",
"h-menu",
"h-menu-horizontal"
],
"properties": {},
"children": [
{
"type": [
"h-element",
"h-global-transition-disable",
"h-mobile-menu"
],
"properties": {},
"children": [
{
"id": "offcanvas-wrapper-111-h12",
"type": [
"h-offcanvas-panel"
],
"properties": {},
"children": [
{
"type": [
"h-element",
"h-offscreen-panel"
],
"properties": {},
"children": [
{
"type": [
"h-ui-empty-state-container"
],
"properties": {},
"children": [
{
"type": [
"h-row-container"
],
"properties": {},
"children": [
{
"type": [
"h-row"
],
"properties": {},
"children": [
{
"type": [
"h-col-none",
"h-column",
"h-column-container"
],
"properties": {},
"children": [
{
"type": [
"h-flex-basis"
],
"properties": {
"name": [
""
]
}
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
],
"rel-urls": {},
"debug": {
"source": "https://github.com/microformats/mf2py",
"version": "1.1.2",
"markup parser": "html5lib",
"description": "mf2py - microformats2 parser for python"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment