I have a page with multiple <img src="./?a=XXX"> elements and it's not being parse correctly. Of course, I could have just made I typo somewhere, but I've double-checked and am out of ideas.
The following code works.
If I add a second image, parsing breaks.
The error is as follows:
PHP Notice
File: [SYSTEM_ROOT]/data/private/assets/bodycopy_div/0014/68/content_file.php Line: 14
Message: Undefined index: 234:v1" alt="[Infrared photograph of a soffit with missing insulation]"/>
When you are only adding one image, what does the outputted code look like? Does it give you a full path to the image and href? Or is it still a ./?a= style link in the source?
Can you verify that the HTML is correct when you are saving it into Matrix? It seems like the code is breaking somehow. Could you also try this in another location in your site just to test it?
[quote]Strange, your image tag in the HTML is broken.
Can you verify that the HTML is correct when you are saving it into Matrix? It seems like the code is breaking somehow. Could you also try this in another location in your site just to test it?[/quote]
Whoops, I thought I copied and pasted it, but I must have retyped it. There is a < in front of the img in the actual output.
As another note, if I put the second link and image into a separate div created with MySource Matrix (not an embedded div inside the content div), it works. Just not in the same div.
[quote]Whoops, I thought I copied and pasted it, but I must have retyped it. There is a < in front of the img in the actual output.
As another note, if I put the second link and image into a separate div created with MySource Matrix (not an embedded div inside the content div), it works. Just not in the same div.[/quote]
I can confirm that this is happening on my 3.20.1 system as well. But, it only happens when using an image variety (:v1 or whatever) but not when using just the normal image.
This sounds like a bug to me, could you log it in the bug tracker?