Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

image link not render #12

Open
jynlix opened this issue Jul 22, 2016 · 3 comments
Open

image link not render #12

jynlix opened this issue Jul 22, 2016 · 3 comments

Comments

@jynlix
Copy link

jynlix commented Jul 22, 2016

<a>
<img></img>
</a>
@osdio
Copy link
Owner

osdio commented Jul 22, 2016

Please give the detail of the code.

@jynlix
Copy link
Author

jynlix commented Jul 22, 2016

we have a server and will send a json response contains a file download link as follows(I have removed the server name from href):

<a data-download-href="/uploads/default/092125ce9c4e518bfdeb2c538e409d0f54aba034" 
href="/uploads/default/original/1X/092125ce9c4e518bfdeb2c538e409d0f54aba034.gif" 
class="lightbox" 
title="1418109581623.gif">
<img src="/uploads/default/optimized/1X/092125ce9c4e518bfdeb2c538e409d0f54aba034_1_690x279.gif" width="690" height="279">
<div class="meta">\n
<span class="filename">1418109581623.gif</span>
<span class="informations">750x304 202 KB</span>
<span class="expand">
</span>\n</div>
</a>

after reading the code , I found html render will parse a link as:
<Text></Text>
if the link has an image as a children then it may parse it like:
<Text><View><Image><Image></View></Text>

@osdio
Copy link
Owner

osdio commented Jul 23, 2016

Yes, the project don't support in an

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants