【发布时间】:2015-10-05 21:36:03
【问题描述】:
我有一个 SGML 文件,它看起来有很多 <p> 带有隐含结束标签的段落,如下所示:
<p>Here is one paragraph.
<p>And here is another. This one contains <i>italics</i>.
<p>Finally, here is another paragraph.
这些段落没有结束标记。我想让它看起来像这样:
<p>Here is one paragraph.</p>
<p>And here is another. This one contains <i>italics</i>.</p>
<p>Finally, here is another paragraph.</p>
有没有使用 OSS 工具的简单方法? (比如 vim、sed 等?)
【问题讨论】:
-
什么都不做,看起来还是一样的
-
好收获。复制粘贴错误。固定。