app/helpers/application_helper.rb
# allowing html in translations is bad practice, but the alternative is too
# cumbersome. At least by fencing off the areas where it is allowed we can
# keep it in check better
allowing html in translations is bad practice, but the alternative is too
cumbersome. At least by fencing off the areas where it is allowed we can
keep it in check better
allowing html in translations is bad practice but the alternative is too cumbersome . At least by fencing off the areas where it is allowed we can keep it in check better
def allow_html_in_key(key)
    return true if key =~ /^cg\.copy\.home\.steps/
    return true if key =~ /^cg\.copy\.teams\.index\.a_team_is_a_group/
    false
  end
def allow_html_in_key ( key ) return true if key =~ / ^cg \. copy \. home \. steps / return true if key =~ / ^cg \. copy \. teams \. index \. a_team_is_a_group / false end
allowing html in translations is bad practice, but the alternative is too
cumbersome.
allowing html in translations is bad practice but the alternative is too cumbersome .
key