@@ -3967,10 +3967,11 @@ Attributes can be set on links and images:
3967(This syntax is compatible with [PHP Markdown Extra] when only `#id`
3967(This syntax is compatible with [PHP Markdown Extra] when only `#id`
3968and `.class` are used.)
3968and `.class` are used.)
3970−For HTML and EPUB, all attributes except `width` and `height` (but
3970+For HTML and EPUB, all known HTML5 attributes except `width` and
3971−including `srcset` and `sizes`) are passed through as is. The other
3971+`height` (but including `srcset` and `sizes`) are passed through
3972+as is. Unknown attributes are passed through as custom
3973+attributes, with `data-` prepended. The other writers ignore
3972−writers ignore attributes that are not supported by their output
3974+attributes that are not specifically supported by their output format.
3975The `width` and `height` attributes on images are treated specially. When
3976The `width` and `height` attributes on images are treated specially. When
3976used without a unit, the unit is assumed to be pixels. However, any of
3977used without a unit, the unit is assumed to be pixels. However, any of