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
This is because during the processing of the image, a certain edge case involving the image's URL occurred, causing the library to treat URLs that are not base64 as base64, such as relative paths starting with /.
The solution is to replace the image's URL with an absolute path, or manually download the image, generate its base64 and use it as the src in the corresponding img element.
I see there are some src attributes that start with "/media/" in your index.txt, which cause the exception. You have to convert them into base64 manually.
index.txt
I am getting Type error while converting the HTML text
Env
Node v16
OS: Mac
Library version: 1.8.0
The text was updated successfully, but these errors were encountered: