-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
3.0.2新版本taro text标签 decode换行处理失效 #7003
Comments
taro-bot2
bot
added
F-react
Framework - React
T-weapp
Target - 编译到微信小程序
V-3
Version - 3.x
labels
Jul 11, 2020
感觉这个问题很严重呀,Text标签不能处理换行符,这是比较基础的问题呀 |
@dreamthen <Text decode dangerouslySetInnerHTML={{ __html: '1111\n'}} /> |
好的,我试一下 |
Closed
mosqlee
pushed a commit
to mosqlee/taro
that referenced
this issue
Jan 20, 2021
Chen-jj
pushed a commit
that referenced
this issue
Jan 22, 2021
还是无效 |
写原生小程序,也会将 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
复现仓库
https://github.com/dreamthen/PetPlanet-demo
小程序基础库: 2.11.3
使用框架: React
复现步骤
拉取代码,直接使用111111\n,就可以看到,decode对于换行符不起作用
期望结果
taro text标签 decode换行处理生效
实际结果
taro text标签 decode换行处理失效
环境信息
The text was updated successfully, but these errors were encountered: