Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Fix root cause. Unsure: read more code; if stuck, ask w/ short options. Unrecogn
| formats/format-support | Formats, bytes-in API, detection order, DOCX + spreadsheet mapping |
| integrations/tool-contract | `MarkkitTool` LLM tool (`tool` feature), Everruns toolkit contract |
| security/security-model | One-page threat/invariant summary |
| security/threat-model | Threats T1-T9, mitigations, test map, resource limits, invariants S1-S20 |
| security/threat-model | Threats T1-T9, mitigations, test map, resource limits, invariants S1-S21 |
| runtimes/python-package | PyO3 `markkit` module, maturin, PyPI |
| runtimes/wasm-package | wasm-bindgen `@everruns/markkit-wasm`, browser/edge, build + tests |
| runtimes/node-package | NAPI-RS `@everruns/markkit`, npm, binding parity table |
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/).

### Fixed

- HTML: deeply nested input no longer costs quadratic time. 687 KiB of nested `<div>`s took
12.6 s and 292 KiB of unclosed nested tables ran past the 60 s timeout; tags nested past
`max_nesting_depth` are now dropped (text kept) before html5ever parses, so both take
milliseconds.
- HTML: rows of nested tables are no longer copied into every enclosing table (output grew 4x
per nesting level).
- HTML: text flattened past `max_nesting_depth` no longer includes `<script>`, `<style>`,
`<template>` and other non-content element bodies.
- Spreadsheets: a sheet with a single row now renders that row as data under Excel column letters
(`| A | B |`) instead of as a header with no rows.
- Spreadsheets: `Extraction.title` is filled from document properties (XLSX `docProps/core.xml`,
Expand Down
1 change: 1 addition & 0 deletions crates/markkit/src/html/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
//! Converts HTML input into the canonical IR.

mod metadata;
mod nesting;
mod parser;
mod readability;
mod urls;
Expand Down
Loading
Loading