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
When referring to a nonexistent image, there is usually an error. That's correct.
But when referring to a nonexistent image in a different module, there is no error. That's not correct, there should be an error.
Steps to reproduce
Create Antora component structure with at least two module folders. For example, module 1: "admin" and module 2: "user".
On a page from a module refer to a nonexistent image from the second module For example, in module "user" refer to an image from module "admin" like so: image::admin:install.png[].
The image is not displayed in the preview area because it doesn't exist, but there is no error report "file doesn't resolve" for a missing image, you won't know the image is missing before you build the site.
Environment
Plugin Version: 43.2
IntelliJ Details: 2024.2.4 Community
The text was updated successfully, but these errors were encountered:
Thank you for noticing this. I had a look and found that the regex I used identified the body as a URL due to the colon used in there. I update the plugin and the next version will be more restrictive and will recognize the error unless you would name a module data or mailto.
I'll update this issue once a pre-release is available.
Observed vs. expected behavior
When referring to a nonexistent image, there is usually an error. That's correct.
But when referring to a nonexistent image in a different module, there is no error. That's not correct, there should be an error.
Steps to reproduce
image::admin:install.png[]
.Environment
Plugin Version: 43.2
IntelliJ Details: 2024.2.4 Community
The text was updated successfully, but these errors were encountered: