Skip to content

Conversation

@muellmatto
Copy link

  1. default image rendition
  2. skip bleaching
  3. dont wrap images in anchor tags

@zerolab
Copy link
Member

zerolab commented Nov 9, 2023

@muellmatto thank you for this.
Two things:

  1. Drop the unsafe_html setting/logic. I'd rather not provide the gun for people to shoot their feet with
  2. Can you add some tests for the default image rendition, and skipping anchors around images?

@muellmatto
Copy link
Author

Hi, thank you for your feedback.
I agree with your first point, i was too lazy to configure allowed_tags.
I will try to provide some tests soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants