♻️ Refactor figure shortcode to reduce repetition

This commit is contained in:
James Panther
2023-01-14 11:24:41 +11:00
parent 68e37ab7a5
commit 3bfc6ae439
2 changed files with 34 additions and 39 deletions
+1
View File
@@ -31,6 +31,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Error when attempting to resize SVG assets in page bundles ([#427](https://github.com/jpanther/congo/pull/427))
- Appearance switcher missing `aria-label` ([#438](https://github.com/jpanther/congo/pull/438))
- Article links missing `alt` text and `aria-label` ([#439](https://github.com/jpanther/congo/pull/439))
- Figure shortcode would not apply `class` or `href` attribtues in some cases
## [2.4.2] - 2022-11-22