<commit_before>HTML-AutoTag (ruby)
===================
Just another HTML tag generator for ruby. [![Gem Version](https://badge.fury.io/rb/HTML-AutoTag.svg)](https://rubygems.org/gems/HTML-AutoTag) [![Build Status](https://api.travis-ci.org/jeffa/html-autotag-ruby.svg?branch=master)](https://travis-ci.org/jeffa/html-autotag-ruby)

Description
-----------
Generate HTML tags with ease (HTML4, HTML5, XHTML and SVG).

Synopsis
--------
```ruby
require 'HTML/AutoTag'
auto = HTML::AutoTag.new

puts auto.tag( 'tag' => 'hr' )
puts auto.tag( 'tag' => 'h1', 'cdata' => 'heading' )
puts auto.tag( 'tag' => 'p', 'cdata' => 'paragraph', 'attr' => { 'class' => 'para' } )

attr = { 'style' => { 'color' => %w{ odd even } } }
puts auto.tag(
    'tag'   => 'ol',
    'attr'  => { 'reversed' => 'reversed' },<commit_msg>update usage<commit_after>HTML-AutoTag (ruby)
===================
Just another HTML tag generator for ruby. [![Gem Version](https://badge.fury.io/rb/HTML-AutoTag.svg)](https://rubygems.org/gems/HTML-AutoTag) [![Build Status](https://api.travis-ci.org/jeffa/html-autotag-ruby.svg?branch=master)](https://travis-ci.org/jeffa/html-autotag-ruby)

Description
-----------
Generate HTML tags with ease (HTML4, HTML5, XHTML and SVG).

Synopsis
--------
```ruby
require 'HTML/AutoTag'
auto = HTML::AutoTag.new( 'indent' => '    ' )

puts auto.tag( 'tag' => 'hr' )
puts auto.tag( 'tag' => 'h1', 'cdata' => 'heading' )
puts auto.tag( 'tag' => 'p', 'cdata' => 'paragraph', 'attr' => { 'class' => 'para' } )

attr = { 'style' => { 'color' => %w{ odd even } } }
puts auto.tag(
    'tag'   => 'ol',
    'attr'  => { 'reversed' => 'reversed' },
{'fraction_non_alphanumeric': 0.259010384850336, 'fraction_numerical': 0.0036652412950519244, 'mean_word_length': 3.8176470588235296, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 28, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6105561', 'n_tokens_mistral': 645, 'n_tokens_neox': 622, 'n_words': 126}