{"record":{"id":"3e4359610114b6f3","repo":"typst/typst","slug":"was-ignored-during-html-export","errorCode":null,"errorMessage":"{} was ignored during HTML export","messagePattern":"(.+?) was ignored during HTML export","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/typst-html/src/convert.rs","lineNumber":156,"sourceCode":"    } else if let Some(elem) = child.to_packed::<BlockElem>() {\n        handle_block(converter, elem, styles)?;\n    } else if let Some(elem) = child.to_packed::<FrameElem>() {\n        let locator = converter.locator.next(&elem.span());\n        let style = TargetElem::target.set(Target::Paged).wrap();\n        let frame = (converter.engine.library.routines.layout_frame)(\n            converter.engine,\n            &elem.body,\n            locator,\n            styles.chain(&style),\n            Region::new(Size::splat(Abs::inf()), Axes::splat(false)),\n        )?;\n        let mut node = HtmlFrame::new(frame, styles, elem.span()).into();\n        // A frame is block-level by default like a Typst `image`. It can\n        // be wrapped in a `box` to omit the `display` annotation.\n        make_block_level(&mut node).unwrap();\n        converter.push(node);\n    } else {\n        converter.engine.sink.warn(warning!(\n            child.span(),\n            \"{} was ignored during HTML export\",\n            child.elem().name(),\n        ));\n    }\n    Ok(())\n}\n\n/// Handles an HTML element.\nfn handle_html_elem(\n    converter: &mut Converter,\n    elem: &Packed<HtmlElem>,\n    styles: StyleChain,\n) -> SourceResult<()> {\n    // See the docs of `HtmlElem::role` for why we filter out roles for `<p>`\n    // elements.\n    let role = styles.get_cloned(HtmlElem::role).filter(|_| elem.tag != tag::p);\n","sourceCodeStart":138,"sourceCodeEnd":174,"githubUrl":"https://github.com/typst/typst/blob/35417aa769ab9d699a60384f91082b09bc6ba421/crates/typst-html/src/convert.rs#L138-L174","documentation":"Warning emitted by the HTML converter in handle: the element (named by the placeholder) has no HTML representation and was skipped during export. The paged-only construct still compiles but does not appear in the HTML output.","triggerScenarios":"Thrown at crates/typst-html/src/convert.rs:156 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Remove or replace the unsupported element when targeting HTML","Check the HTML export documentation for supported elements","File or track an issue for the missing element support"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"35417aa769ab9d699a60384f91082b09bc6ba421","analyzedAt":"2026-08-17T21:03:48.984Z","contentChangedAt":"2026-08-17T21:03:48.984Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}