README.md in inline_svg-1.7.1 vs README.md in inline_svg-1.7.2
- old
+ new
@@ -96,10 +96,11 @@
`desc` | add a \<desc\> node inside the top level of the SVG document
`nocomment` | remove comment tags from the SVG document
`preserve_aspect_ratio` | adds a `preserveAspectRatio` attribute to the SVG
`aria` | adds common accessibility attributes to the SVG (see [PR #34](https://github.com/jamesmartin/inline_svg/pull/34#issue-152062674) for details)
`aria_hidden` | adds the `aria-hidden=true` attribute to the SVG
+`fallback` | set fallback SVG document
Example:
```ruby
inline_svg_tag(
@@ -111,10 +112,11 @@
title: 'Some Title',
desc: 'Some description',
nocomment: true,
preserve_aspect_ratio: 'xMaxYMax meet',
aria: true,
- aria_hidden: true
+ aria_hidden: true,
+ fallback: 'fallback-document.svg'
)
```
## Accessibility