You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Silent truncation on large HTML inputs (#277) — fixed preprocessing pipeline gap where strip_script_and_style_tags was not called after repair_with_html5ever, causing documents with custom elements and scripts containing literal <script> strings to be silently truncated. Also fixed preprocess_html fallback to skip only the problematic tag instead of consuming the rest of the document.
WASM plain-object options (#303) — WASM package now exports a wrapper convert() function that accepts plain JavaScript objects for options, eliminating the need to construct WasmConversionOptions class instances. The raw WASM classes remain available for advanced use.
Added
max_depth option — new max_depth field on ConversionOptions to limit DOM traversal depth, preventing stack overflow on deeply nested or malicious HTML. Default is None (unlimited). When set, subtrees beyond the limit are silently truncated.
Removed
Phantom type references (MetadataResult, HeadingInfo, LinkInfo, ImageInfo) from alef configuration that did not correspond to any Rust types.