FireFox 版整洁

发布于 2024-07-17 12:20:22 字数 124 浏览 6 评论 0原文

我正在寻找创建一个二进制文件,它在标准输入上获取一个 html 字符串,并吐出一个表示 DOM 的格式良好的 xml 字符串。 基本上“整洁”但使用FireFox。

我应该在哪里连接 FF 源代码有什么想法吗?

I'm looking to create a binary that takes an html string on stdin, and spits out a well formed xml string representing the DOM. Basically "tidy" but using FireFox.

Any ideas where I should hook into the FF source code?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

千纸鹤 2024-07-24 12:20:22

源代码中包含多个渲染测试。 其中一些与我正在寻找的“接近”,但钩子必须稍作修改。 但作为起点,渲染测试是最好的起点。

There are multiple rendering tests included in the source code. Some of them are "close" to what I'm looking for but the hooks have to be slightly modified. But as a starting point, the rendering tests are the best place to start.

朱染 2024-07-24 12:20:22

您看过 Firebug 的 HTML 选项卡吗? 或者 Html Validator 插件?

Have you seen Firebug's HTML tab? Or the Html Validator plugin?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文