]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
javascript.md: Add `srcset` in sanitizer docs (#30007)
authorXhmikosR <xhmikosr@gmail.com>
Mon, 13 Jan 2020 15:49:36 +0000 (17:49 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 17 Feb 2020 19:33:54 +0000 (21:33 +0200)
site/docs/4.4/getting-started/javascript.md

index a509bd4826dfd5681e0cc8db2e9d32c37550a945..058737f91c48bf71c3fc4f3c15fdbe709b03c611 100644 (file)
@@ -167,7 +167,7 @@ var DefaultWhitelist = {
   h5: [],
   h6: [],
   i: [],
-  img: ['src', 'alt', 'title', 'width', 'height'],
+  img: ['src', 'srcset', 'alt', 'title', 'width', 'height'],
   li: [],
   ol: [],
   p: [],