You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that uri like: <img alt="Embedded Image" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIA .... "> are not currently supported, it just replaces "data:image" with the cdn url because it is not detected in the splitter and because of the url.parse line in _replace method .
Note that this also stands for link, script, url, etc. I would have opened a pull request, but I'm not sure how you want to handle such a case:
In the HTML splitter regex (but here it seems like a major change, since it affects regex groups position).
In the Job _replace method directly by section that skips such uri
For now I've been using ignorePath to handle that, and this works:
Hi,
It seems that uri like:
<img alt="Embedded Image" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIA .... ">
are not currently supported, it just replaces "data:image" with the cdn url because it is not detected in the splitter and because of the url.parse line in _replace method .Note that this also stands for link, script, url, etc. I would have opened a pull request, but I'm not sure how you want to handle such a case:
For now I've been using ignorePath to handle that, and this works:
Not completely sure the regex handles all cases. Anyway, let me know if you want me to open a pull request.
The text was updated successfully, but these errors were encountered: