zzhoujay / html Goto Github PK
View Code? Open in Web Editor NEW基于原生Html解析进行功能扩充和定制的Html解析器
Home Page: https://github.com/zzhoujay/Html
基于原生Html解析进行功能扩充和定制的Html解析器
Home Page: https://github.com/zzhoujay/Html
font-size 不支持
dependencies
'com.zzhoujay.richtext:richtext:3.0.7'
'com.zzhoujay:html:1.0.2'
and error:
Multiple dex files define Lcom/zzhoujay/html/HtmlToSpannedConverter$Big;
<、span style="font-family: 微软雅黑, "Microsoft YaHei"; font-size: 14px; background-color: rgb(192, 80, 77); color: rgb(238, 236, 225);">年后的假期综合症不知道各位小伙伴都调整得怎么样了呢?对着空荡荡的或者满是文件的办公桌</span、>"
显示出来的是全黑的
<、span style="font-family: 微软雅黑, "Microsoft YaHei"; font-size: 14px; background-color: rgb(192, 80, 77); color: rgb(238, 236, 225);">年后的假期综合症不知道各位小伙伴都调整得怎么样了呢?对着空荡荡的或者满是文件的办公桌</span、>"
显示出来的是全黑的
text-indent属性并没有起作用
经过测试,因为RichText在android 7.0之前不能颜色标签无法识别,所以需要用您写的Html解析器,结果在实际使用中发现,如果混淆的时候不排除-keep class com.zzhoujay.html.** { *;} 则还是不能识别颜色
如题,加载带html标签的数据内容,如何支持两端对齐呢?
<p>文字</p><p>文字</p><p style="line-height: 16px;"><img style="vertical-align: middle; margin-right: 2px;" src="https://www.mosoteach.cn/web/common/Plugins/Ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif"/><a style="font-size:12px; color:#0066cc;" href="https://mi-public.oss-cn-hangzhou.aliyuncs.com/mssvc/editor/file/2018/05/05/1525495701990363.mp3" title="Selina 王力宏 - 你是我心内的一首歌.mp3">Selina 王力宏 - 你是我心内的一首歌.mp3<img src="https://mi-public.oss-cn-hangzhou.aliyuncs.com/mssvc/editor/image/2018/05/05/1525495711272639.png" title="1525495711272639.png" alt="green.png"/></a></p><p><br/></p>
该段标签,MP3链接会无法点击
加载一个html,会有大段空白,不知是什么原因
跑的这个项目的demo,把里面图片地址换了
<img src=\"https://www.baidu.com/img/bd_logo1.png\" alt=\"演示\" title=\"演示\" style=\"max-width:100%;\"></a></p>\n" +
java.io.IOException: Stream closed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.