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

Error when trying to use base64 encoded image in html template #3

Closed
rsegerink opened this issue Nov 2, 2016 · 3 comments
Closed
Labels

Comments

@rsegerink
Copy link

When I embed an image by base64 encoding in an html template, I get an System.IO.PathTooLongException. So it seems that the html parser still wants to resolve the image src value to a file system path, is there a setting to disable this?

@axunonb
Copy link
Member

axunonb commented Nov 3, 2016

You mean embedding this way:
<img alt="sample" src="data:image/png;base64,xyz" />
Haven't verified yet, but I guess it doesn't work and I'd rate it as a bug (not too difficult to fix, though).

@axunonb axunonb added the bug label Nov 3, 2016
@rsegerink
Copy link
Author

Yes.

@axunonb
Copy link
Member

axunonb commented Nov 12, 2016

Bug should be removed with v5.2.0.0

@axunonb axunonb closed this as completed Nov 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants