【发布时间】:2010-02-23 19:12:42
【问题描述】:
是否可以用<br> 标签替换换行符,但忽略</h1> 标签后面的换行符?
所以例如我想改变这个块:
<h1>Test</h1> \n some test here \n and here
到这里:
<h1>Test</h1> some test here <br /> and here
【问题讨论】:
-
一开始为什么会有这样的代码?看来你原来的情况本身就有问题。