Replies: 1 comment
-
It would be amazing to have this! Posting here after investigating JoshuaKGoldberg/create-typescript-app#1312 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Product Feedback
Body
When you insert an image in a textfield (or in a README file), sometime you'd like to have lazy loading for images (ex: the contributors list in a project's README can have megabytes of images downloaded at every request) but if you write something like this:
<img src="https://user-images.githubusercontent.com/909743/209436052-7e97fecf-2cc8-4795-bbc6-eb227347273c.jpg" loading=lazy />
the output will be sanitized and the
loading
attribute will be removed, eg:If would be nice (actually it would be quite necessary in 2023) to have the loading attribute not stripped away.
:-)
Beta Was this translation helpful? Give feedback.
All reactions