Closed tecky-dev closed 5 years ago
Hi @tecky-dev, ignoring any HTTP started link is unnecessary since if no corresponding asset is found from Cockpit, it automatically falls back to an external link (since version 1.0.8, with @aequi42's fix). However, good catch for the empty galleries and images. Could you edit your PR keeping only the c7f23f3 commit ? Thanks :)
The current implementation of the code would regard any external link as an asset and attempt to replace it with the asset path. I propose to ignore any HTTP started link to avoid external link to be treated as asset.