mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-07-01 16:22:49 +08:00
- 新增 convertFlowBlocksToImages():在 #content-flow 中用 html2canvas 截图转换 table/pre 块为 img - 修改 render() 管线:renderContentFlow -> convertFlowBlocksToImages -> measureBlockHeights - 删除旧的 convertCodeBlocks() 和 convertTables()(doCapturePages 中不再需要) - 添加 parseHtmlToBlocks 的 case 'pre' 分支 - splitOversizedBlock 添加 pre 不拆分规则 - isPureImagePage 跳过 data-converted=true 的图片避免误判