我有一个 HTML 文档,其中大部分文本的段落格式正确但有些段落不包含 p 标签,因此无法正确显示。
<p> </p>
有没有办法使用带有正则表达式的文本编辑器将带有标签的段落括起来?我尝试使用 HTML tidy,但我无法让它识别单独的段落,或者它以错误的方式重新格式化它,我不知道发生了什么......
我需要每个不包含 html 标签的段落来包装段落:
Template Design Creation for the layout for the content that will exist on each page.
Custom Programing to make certain features work with the design.
Photos of the Location For the Website Design Elements.
像这样
<p>Template Design Creation for the layout for the content that will exist on each page.</p>
<p>Custom Programing to make certain features work with the design.</p>
<p>Photos of the Location For the Website Design Elements.</p>'