Skip to content

Add validation for invalid html tags#244

Open
berroar wants to merge 9 commits intomainfrom
add-html-validation
Open

Add validation for invalid html tags#244
berroar wants to merge 9 commits intomainfrom
add-html-validation

Conversation

@berroar
Copy link
Contributor

@berroar berroar commented Jun 4, 2024

What is the context of this PR?

Adds validation to identify any invalid HTML in our translatable strings e.g. anything that is not using <strong> or <a>.

How to review

Check that the validation is working as expected

Checklist

  • eq-translations updated to support any new schema keys which need translation

@berroar berroar marked this pull request as ready for review June 4, 2024 11:09
Copy link
Contributor

@VirajP1002 VirajP1002 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works really nicely! Tests pass and changes look good. I also tested the changes in Runner and validation works as intended!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants