如何在没有的情况下将文本移动到 XUL 中的新行html:br?XUL 中是否有换行符或类似的东西?
<description>
Some
text
here
</description>
如何在没有的情况下将文本移动到 XUL 中的新行html:br?XUL 中是否有换行符或类似的东西?
<description>
Some
text
here
</description>
<description>元素可以尊重换行符,与<html:p>. 您只需使用white-spaceCSS 属性:
<description style="white-space: pre-wrap;">
Some
text
here
</description>