<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -33,7 +33,8 @@ module WillPaginate
       :renderer       =&gt; 'WillPaginate::LinkRenderer',
       :page_links     =&gt; true,
       :container      =&gt; true,
-      :semantic       =&gt; false
+      :semantic       =&gt; false,
+      :semantic_container =&gt; :ul
     }
     mattr_reader :pagination_options
 
@@ -57,7 +58,8 @@ module WillPaginate
     # * &lt;tt&gt;:id&lt;/tt&gt; -- HTML ID for the container (default: nil). Pass +true+ to have the ID
     #   automatically generated from the class name of objects in collection: for example, paginating
     #   ArticleComment models would yield an ID of &quot;article_comments_pagination&quot;.
-    # * &lt;tt&gt;:semantic&lt;/tt&gt; -- pagination links rendered with UL/LI tags
+    # * &lt;tt&gt;:semantic&lt;/tt&gt; -- semantic pagination render, defaults to false
+    # * &lt;tt&gt;:semantic_container&lt;/tt&gt; -- container for li elements, defaults to :ul
     #
     # Advanced options:
     # * &lt;tt&gt;:param_name&lt;/tt&gt; -- parameter name for page number in URLs (default: &lt;tt&gt;:page&lt;/tt&gt;)
@@ -242,7 +244,7 @@ module WillPaginate
       links.push    page_link_or_span(@collection.next_page,     'disabled next_page', @options[:next_label])
 
       html = links.join(@options[:separator])
-      container_tag = @options[:semantic] ? :ul : :div
+      container_tag = @options[:semantic] ? @options[:semantic_container] : :div
       @options[:container] ? @template.content_tag(container_tag, html, html_attributes) : html
     end
 </diff>
      <filename>lib/will_paginate/view_helpers.rb</filename>
    </modified>
    <modified>
      <diff>@@ -377,6 +377,11 @@ class ViewTest &lt; WillPaginate::ViewTestCase
     assert_select('ul li', false)
   end
 
+  def test_specified_semantic_container
+    paginate([1].paginate({ :page =&gt; 1, :total_entries =&gt; 13, :per_page =&gt; 4 }), :semantic =&gt; true, :semantic_container =&gt; :ol)
+    assert_select('ol li', true)
+  end
+
   def test_semantic
     paginate([1].paginate({ :page =&gt; 1, :total_entries =&gt; 13, :per_page =&gt; 4 }), :semantic =&gt; true) do |pagination|
       assert_select 'li a[href]', 4 do |elements|</diff>
      <filename>test/view_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 Gem::Specification.new do |s|
   s.name    = 'will_paginate'
   s.version = '2.3.11'
-  s.date    = '2009-06-02'
+  s.date    = '2009-08-08'
 
   s.summary = &quot;Most awesome pagination solution for Rails&quot;
   s.description = &quot;The will_paginate library provides a simple, yet powerful and extensible API for ActiveRecord pagination and rendering of pagination links in ActionView templates.&quot;</diff>
      <filename>will_paginate.gemspec</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>746f5d46d6d5f2cebdb13337391568fa28638f63</id>
    </parent>
  </parents>
  <author>
    <name>Les Hill</name>
    <email>leshill@gmail.com</email>
  </author>
  <url>http://github.com/leshill/will_paginate/commit/bafa652bc7a449ba19f9a0b9d5c7dd348d1a85b9</url>
  <id>bafa652bc7a449ba19f9a0b9d5c7dd348d1a85b9</id>
  <committed-date>2009-08-08T19:40:29-07:00</committed-date>
  <authored-date>2009-08-08T19:40:29-07:00</authored-date>
  <message>Option for using ul/ol container for semantic pagination</message>
  <tree>dca50d2075ce79a45d1acdbb07d4ddc18f205944</tree>
  <committer>
    <name>Les Hill</name>
    <email>leshill@gmail.com</email>
  </committer>
</commit>
