Mark is right. if you are writing your HTML in $Text then you’ll want to display the $SmartQuotes attribute and set it to false. This will let you run in-line HTML in $Text, e.g.
<scr="image path" width="400">.
Note, I’m increasing. convinced, when at all possible, it is better to put the image name or path into an attribute and then to use action code, a template, or a combination of the two to generate the structure and appearance you want. This goes for bullets, tables, and more. You really do want to keep your $Text and related content (aka attributes) as devoid of structure and appearance as possible. By so doing you can then have TBX do the work through templates and CSS to render your content in pretty much any way you want. Yes, it may feel like a bit more work on the frontend, but on the backend and overall it saves so much time as your frontend work is reusable, your content is repurposable, and you learn the fundamental languages of the internet and computing–HTML, CSS, regex, command line, etc–i.e., all transferable knowledge and skills that can be used across other domains.