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
I was using the API and noticed a strange behavior regarding the mj-image element where sometimes I would get an empty src attribute. I did some tests and eventually went to test it out on your live test page.
So I used your example there and changed it a bit:
This happened because the URL I am using has a base64 encoded query string parameter that ends in "==". When I test with the same URL, but remove the "==" instead, it works.
Exhibit 2:
I'm not really sure what's happening here but I would appreciate your input.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi @jsbsantos we released a new beta for mjml 4.1, which you can install with npm install mjml@next. There has been noticeable changes to the parser, could you check if it resolves the problem you had ? (It should)
I was using the API and noticed a strange behavior regarding the mj-image element where sometimes I would get an empty src attribute. I did some tests and eventually went to test it out on your live test page.
So I used your example there and changed it a bit:
This gave the expected result and i got the image with a link. However, when I changed the href attribute to "http://www.google.com?q=aW1hZ2UgaXMgYnVzdGVkIQ==" I get an empty src attribute.
Exhibit 1:
This happened because the URL I am using has a base64 encoded query string parameter that ends in "==". When I test with the same URL, but remove the "==" instead, it works.
Exhibit 2:
I'm not really sure what's happening here but I would appreciate your input.
Thanks.
The text was updated successfully, but these errors were encountered: