We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如果存储在assets目录的图片带有下划线,例如 test_1.jpg,使用RichText加载该图片时,markdown文本为 file:///android_assets/test_1.jpg,由于存在两个下划线,该文本被当作 斜体 先处理,而不是以图片格式处理。 该实现位于 com.zzhoujay.markdown.parser.TagHandlerImpl 中
test_1.jpg
file:///android_assets/test_1.jpg
com.zzhoujay.markdown.parser.TagHandlerImpl
The text was updated successfully, but these errors were encountered:
干脆fork一下自己改,合并过去
Sorry, something went wrong.
加载markdown文件,图片放在assets下,图片名字没有下滑线,同样也无法显示图片: ![](file:///android_asset/helper.png)
![](file:///android_asset/helper.png)
2021-01-04 14:41:16.576 20238-20273/zhou.demo I/RichText: RichTextPool --> cache hit -- text 2021-01-04 14:41:16.581 20238-20273/zhou.demo I/RichText: DefaultImageGetter --> cache hit -- memory > file:///android_asset/helper.png 2021-01-04 14:41:16.587 20238-20238/zhou.demo V/PhoneWindow: DecorView setVisiblity: visibility = 4, Parent = null, this = DecorView@d71cfba[] 2021-01-04 14:41:16.598 20238-20238/zhou.demo I/InputTransport: Create ARC handle: 0x7964fac760 2021-01-04 14:41:16.599 20238-20238/zhou.demo V/PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@ada9e61, this = DecorView@d71cfba[MyRichTextActivity] 2021-01-04 14:41:16.602 20238-20238/zhou.demo I/RichText: RichTextPool --> cached 2021-01-04 14:41:16.637 20238-20238/zhou.demo E/GraphicExt: GraphicExtModuleLoader::CreateGraphicExtInstance false
No branches or pull requests
如果存储在assets目录的图片带有下划线,例如
test_1.jpg
,使用RichText加载该图片时,markdown文本为file:///android_assets/test_1.jpg
,由于存在两个下划线,该文本被当作 斜体 先处理,而不是以图片格式处理。该实现位于
com.zzhoujay.markdown.parser.TagHandlerImpl
中The text was updated successfully, but these errors were encountered: