A simple search on Google takes us to this page on GitHub
Specifically, your error occurs in this part of the code:
canEmbedURI(uri, isRelative) {
if (uri.startsWith('https://')) return uri;
if (uri.startsWith('//')) return uri;
if (uri.startsWith('data:')) return uri;
if (!uri.startsWith('http://')) {
if (/^[a-z]+\:\/\//.test(uri) || isRelative) {
return this.errorReply("URIs must begin with 'https://' or 'http://' or 'data:'");
Review the use you are making of this function, as it seems that as indicated by the error message, you are not receiving the string start (URI) that you expect.
EDITING:
The problem is that any URI you use in that HTML code must be preceded by http://
, https://
or data:
.
To solve the problem replace:
<img src="pp.png" alt="Logo" width="128" height="128">
for the full path to your image:
<img src="http://www.miservidor.com/pp.png" alt="Logo" width="128" height="128">
Do not forget to include http://
or https://
ahead of the name of the image.
Greetings