Closed seigler closed 4 years ago
When the site output has a data URI, for example:
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" />
the function that transforms relative URLs to absolute ones tries to transform the data URI and fails.
Nevermind; there was a different problem. This library does handle data URIs properly!
When the site output has a data URI, for example:
the function that transforms relative URLs to absolute ones tries to transform the data URI and fails.