如何修复 XML 输出中的不匹配标签错误
将 bignum.h 文件处理为 XML(或 HTML)时,标签未正确排序。这会导致 sphinx Breath 解析器出现错误。
/doxygen/xml\dd/da2/bignum_8h.xml: mismatched tag: line 2599, column 172
导致失败的行是:
at most 2<sup>-2*\p rounds</sup>.
生成的 XML 是:
2<superscript>-2*<computeroutput>rounds</superscript></computeroutput>
解决方法是添加空格,如下所示。
at most 2<sup>-2*\p rounds </sup>.
新生成的 HTML 为:
2<superscript>-2*<computeroutput>rounds</computeroutput> </superscript>
该文件的 HTML 的 Doxygen 输出可在此处找到,并且表现出相同的不匹配(但是浏览器可以容忍它)https://tls.mbed.org/api/bignum_8h.html
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论