【发布时间】:2010-01-31 15:18:10
【问题描述】:
我正在开发一个生成 html 的 .net 项目。
生成 html 字符串时,没有空格或缩进。这使得理解生成的 html 变得困难。
是否有工具可以获取我生成的 html 字符串并对其进行格式化以使其看起来不错?
【问题讨论】:
-
生成 html 的内容是什么? HtmlTextWriter 是一个选项吗?
-
您是指自动工具还是手动工具?
标签: c# .net html formatting indentation