mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Don't copy styles for regular computed rendering
This commit is contained in:
@@ -38,7 +38,11 @@ export default class ImageLoader<T> {
|
||||
return this.addImage(src, src);
|
||||
}
|
||||
} else {
|
||||
if (this.options.allowTaint === true || isInlineBase64Image(src) || this.isSameOrigin(src)) {
|
||||
if (
|
||||
this.options.allowTaint === true ||
|
||||
isInlineBase64Image(src) ||
|
||||
this.isSameOrigin(src)
|
||||
) {
|
||||
return this.addImage(src, src);
|
||||
} else if (typeof this.options.proxy === 'string' && !this.isSameOrigin(src)) {
|
||||
// TODO proxy
|
||||
|
||||
Reference in New Issue
Block a user