c***k 发帖数: 1589 | 1 in html code: how is the new line character '\n' treated?
Seems like just being ignored...
Is there any simple way to display '\n' as a new line, other than
replace all '\n' by .
Another question:
In html code: several white space are treated as one. Is there any
good way to preserve their original behavior? |
l****e 发帖数: 359 | 2
代表一个空格,想要几个就写几个
【在 c***k 的大作中提到】 : in html code: how is the new line character '\n' treated? : Seems like just being ignored... : Is there any simple way to display '\n' as a new line, other than : replace all '\n' by . : Another question: : In html code: several white space are treated as one. Is there any : good way to preserve their original behavior?
|
b****u 发帖数: 1027 | 3 put your html inside pre tag:
then it'll show correctly. |
l****e 发帖数: 359 | 4 发现我的 在www下不显示,哈哈哈
【在 l****e 的大作中提到】 : :
: 代表一个空格,想要几个就写几个
|
b****u 发帖数: 1027 | |
c***k 发帖数: 1589 | 6 is not white space. It's a newline character, if you put several
that'll generate several empty lines.
【在 l****e 的大作中提到】 : 发现我的 在www下不显示,哈哈哈
|
l****e 发帖数: 359 | 7 不要断章取义,而且看看我下一片回文, 那个www下没出现的空格我用全角写了一遍。
【在 c***k 的大作中提到】 : is not white space. It's a newline character, if you put several : that'll generate several empty lines.
|
c***k 发帖数: 1589 | 8 sorry ^^
【在 l****e 的大作中提到】 : 不要断章取义,而且看看我下一片回文, 那个www下没出现的空格我用全角写了一遍。
|
y***l 发帖数: 6963 | 9
【在 l****e 的大作中提到】 : 不要断章取义,而且看看我下一片回文, 那个www下没出现的空格我用全角写了一遍。
|