-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Allow image URLs" not working as expected #1784
Comments
@robinsowell @TomJaeger can you review this one? I intent to leave it as it is, even if it's not 100% consistent, as it has been like that for years and people might be relying on that behaviour |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a textarea field with simple HTML in it. The channel is set to Allow all HTML, and "Allow image URLs" is off.
When I output the content to a template, EE is stripping out
img
tags, leaving just the URL for thesrc
attribute.(What I expect to happen: The
img
tag to remain in place when rendering the template.)If I turn on "Allow image URLs" the existing
img
tag is left alone and an image loads in the rendered template.(This is expected.)
If I turn on "Allow image URLs", and take out the
img
tag, leaving a bare URL to an image in the field, the URL is simply rendered as text in the template.(What I expect to happen: The description of the "Allow image URLs" setting says that "URLs to image resources will be automagically rendered as images," so I expect the template to wrap the bare URL in an
img
tag.)EE 6.2.4
The text was updated successfully, but these errors were encountered: