You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new USWDS Banner accepts content as a string. The content can also be html, which is then decoded by the component to render the appropriate html tags. To stay aligned with some of the other veda components, we should adjust this to accept markdown configuration instead (e.g. ::markdown).
…der dependency (#1355)
**Related Ticket:** #1348
### Description of Changes
- Remove the HTML encoder dependency
- Updated `SiteAlert` and `Banner` mocks to use markdown syntax, which
is parsed via Parcel
### Notes & Questions About Changes
_{Add additonal notes and outstanding questions here related to changes
in this pull request}_
### Validation / Testing
1. Tweak the content for the SiteAlert or the Banner in the the
configuration file using markdown syntax for their content / text
2. Restart your build process (`yarn clean` may be needed)
3. Check that the changes are correctly displayed in the banner or site
alert
Context
The new USWDS Banner accepts content as a string. The content can also be html, which is then decoded by the component to render the appropriate html tags. To stay aligned with some of the other veda components, we should adjust this to accept markdown configuration instead (e.g.
::markdown
).See thread here: #1328 (comment)
Acceptance Criteria
Related Tickets
[If applicable, link any tickets that are related]
The text was updated successfully, but these errors were encountered: