【发布时间】:2010-09-14 12:13:30
【问题描述】:
内容是
Hello World.
<a href="#" target=_blank>hello World</a>
如何替换html代码中的&nbsp;,并在文本中保留另一个&nbsp;。
【问题讨论】:
-
如果可能,您应该尽量避免将
&nbsp;首先放入您的html 代码中。 -
是的,你是怎么遇到这种情况的?向我们展示该代码。
-
您使用什么程序来创建该标记?
-
看这个帖子:stackoverflow.com/questions/3705996/mysql-replace-spaces我执行 content = content.Replace(" ", " ");