rails/actionview/test
Akhil G Krishnan bb626ffca8 HTML tag validation added for tags
Added validation for HTML tag names in the `tag` and `content_tag` helper method. The `tag` and
`content_tag` method now checks that the provided tag name adheres to the HTML specification. If
an invalid HTML tag name is provided, the method raises an `ArgumentError` with an appropriate error
message.

Examples:

```ruby
content_tag("12p") # Starting with a number

content_tag("") # Empty tag name

tag("div/") # Contains a solidus

tag("image file") # Contains a space
```
2023-09-27 18:11:01 +05:30
..
actionpack Revert typography change in user facing errors 2023-09-26 21:45:03 +00:00
activerecord Fix Action View collection caching to store fragments as bare strings 2023-07-04 16:37:22 +02:00
fixtures Introduce ActionView::TestCase.register_parser 2023-09-27 02:03:23 +00:00
lib Fix form_for id generation for new CPK models 2023-08-28 15:56:25 -05:00
template HTML tag validation added for tags 2023-09-27 18:11:01 +05:30
ujs Fix rails-ujs tests not being linted 2023-03-17 00:56:59 -04:00
abstract_unit.rb Add ActionView.deprecator 2022-10-30 16:01:39 -05:00
active_record_unit.rb Introducs TestFixtures#fixture_paths. 2023-03-14 19:02:56 -04:00
buffers_test.rb Add OutputBuffer#raw and #capture to reduce the need to swap the buffer 2022-08-03 12:56:34 +02:00