This PR fixes the case when you have a checkbox with a label that has HTML content (like an accept terms and conditions checkbox with a link to the terms), right now the label is not properly escaped and the link isn't marked as safe.
It also fixes some rubocop offenses so the build is green.
This PR fixes the case when you have a checkbox with a label that has HTML content (like an accept terms and conditions checkbox with a link to the terms), right now the label is not properly escaped and the link isn't marked as safe.
It also fixes some rubocop offenses so the build is green.