Commit 84ce806
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
2 files changed
+5
-5
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
0 commit comments