Skip to content

Commit 84ce806

Browse files
authored
feat(DF-903) update model version (#336)
* feat(DF-903): Add linkAttributes extension to engine markdown parser Add the linkAttributes inline extension to consume {:target="_blank"} syntax so it is not rendered as plain text in check answers summaries. Also add linkAttributes to the allowed token types whitelist. * chore: update @defra/forms-model dependency to version 3.0.637 in package.json and package-lock.json * revert: remove linkAttributes extension from engine markdown parser This parser is only used for check answers summaries which render user-entered field values — {:target="_blank"} syntax will not appear there. The extension is only needed in the model's markdownToHtml which handles designer-authored content.
1 parent 3c7be63 commit 84ce806

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
},
8383
"license": "SEE LICENSE IN LICENSE",
8484
"dependencies": {
85-
"@defra/forms-model": "^3.0.627",
85+
"@defra/forms-model": "^3.0.637",
8686
"@defra/hapi-tracing": "^1.29.0",
8787
"@defra/interactive-map": "^0.0.4-alpha",
8888
"@elastic/ecs-pino-format": "^1.5.0",

0 commit comments

Comments
 (0)