Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

非本地数据<br>标签换行BUG #89

Open
ariselee opened this issue Jan 15, 2020 · 3 comments
Open

非本地数据<br>标签换行BUG #89

ariselee opened this issue Jan 15, 2020 · 3 comments

Comments

@ariselee
Copy link

应用场景:小程序标签
原始数据:<font size=2>七天质量派单</font>|<font size=2>时间:2020-01-07 00:00:00<br>数量:<font color=red>0</font><font>
数据方式:非本地数据,从后台程序RESTFUL接口获取
问题现象:本地死数据时(本地json文件),软换行可以正常显示换行。但当数据从服务器接口获取时,其他标签正常显示,唯有<br>、<BR>、双空格都不能正确显示换行。页面调试查看也未生成。

界面

@TooBug
Copy link
Owner

TooBug commented Jan 15, 2020

用的什么方式渲染的?本地数据也完整地发一下。

@ariselee
Copy link
Author

WXML:<view class="task-bottom" wx:if="{{item.contentType == '1'}}"> <wemark md="{{item.remark}}" link highlight type="wemark"></wemark> </view>
原始数据:|表名|2020-01-13| |---|---| |<font size=2>七天质量派单</font>|<font size=2>时间:2020-01-07 00:00:00<br>数量:<font color=red>0</font><font>| |<font size=2>一级分光器派单</font>|<font size=2>时间:2020-01-09 13:05:01<br>数量:<font color=red>0</font><font>|

@ariselee
Copy link
Author

WXML:<view class="task-bottom" wx:if="{{item.contentType == '1'}}"> <wemark md="{{item.remark}}" link highlight type="wemark"></wemark> </view>

原始数据:|表名|2020-01-13| |---|---| |<font size=2>七天质量派单</font>|<font size=2>时间:2020-01-07 00:00:00<br>数量:<font color=red>0</font><font>| |<font size=2>一级分光器派单</font>|<font size=2>时间:2020-01-09 13:05:01<br>数量:<font color=red>0</font><font>|

企业微信截图_20200115111139
不小心点了一下closed~~

@ariselee ariselee reopened this Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants