Form designer local files with space don't work


I’m trying to show a local image in a HTML Element in the form designer (as described here) and it only works when there are no spaces in the file path. So <img src="/file://c:\test.png" /> works fine but <img src="/file://c:\test file.png" /> fails because of the space. I’ve tried replacing the space with various things (+, %20, %2520, _ and -) but nothing seems to work.

Any suggestions on how to fix this (other than base64 encoded files and changing the path itself :slight_smile:)?