简单的段落分割
我试图在我的文本文件(name.js)中进行一个简单的段落分隔符,以便当iphone提取信息(name.js)时,段落中不会出现大的运行。我看了又看,找不到此信息,你能帮我吗?项目此时到期......
I am trying to make a simple paragraph break in my text file (name.js) so that when the iphone pulls the information (name.js) there is not one big run on paragraph. I have looked and looked and cannot find this information can you help me project is due at this time...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

发布评论
评论(2)
注定孤独终老2024-10-14 08:36:50
我远离我的机器,所以我无法检查,但尝试 \n 或 \r\n
好吧,它必须是其中之一,
<br />
我刚刚破解了一个小部件并尝试了它。顺便说一句,我假设您正在执行类似以下操作
// localised strings
var backString_01 = "World Second <br />offers unbeatable exchange rates and exceptional service for foreign exchange and international payments";
,然后使用 html 中的元素输出到文档,
document.getElementById('services_headline').innerHTML = backString_01;
例如......
<div id="services_headline" apple-part="com.apple.Dashcode.part.text" class="apple-text apple-no-children" apple-default-image-visibility="hidden" apple-text-overflow="ellipsis"></div>
~没有更多了~
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
在 javascript 中尝试这样的事情:
try something like this in the javascript: