]> 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)
committerGitHub <noreply@github.com>
Mon, 13 Jan 2020 15:49:36 +0000 (17:49 +0200)
site/content/docs/4.3/getting-started/javascript.md

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