<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -7,10 +7,11 @@ module RedCloth
         include CommonInline
         
         rule strong
-          '*' !'*' contents:inline end_strong {
+          '*' !'*' strong_attributes:attributes? contents:inline end_strong {
             def build(filter)
+              attributes = strong_attributes.empty? ? {} : strong_attributes.to_opts
               Ast::Element.new(
-                {:type =&gt; :strong},
+                attributes.merge(:type =&gt; :strong),
                 contents.build(filter)
               )
             end</diff>
      <filename>lib/redcloth/parser/inline/strong.treetop</filename>
    </modified>
    <modified>
      <diff>@@ -18,6 +18,11 @@ module RedCloth
             [:strong, {}, [&quot;don't you dare!&quot;]]
         end
         
+        it &quot;should parse class/id attributes on strong phrase&quot; do
+          parse(&quot;*(myclass#myid)don't you dare!*&quot;).to_sexp.should ==
+            [:strong, {:class =&gt; &quot;myclass&quot;, :id =&gt; &quot;myid&quot;}, [&quot;don't you dare!&quot;]]
+        end
+        
         it &quot;should allow asterisks as words in a strong phrase&quot; do
           parse(&quot;*2 * 7*&quot;).to_sexp.should ==
             [:strong, {}, [&quot;2 * 7&quot;]]</diff>
      <filename>spec/redcloth/parser/inline/strong_parser_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1fdc128e54b67eccfad1185b0ad266f0add2508b</id>
    </parent>
  </parents>
  <author>
    <name>Jason Garber</name>
    <email>jg@jasongarber.com</email>
  </author>
  <url>http://github.com/jgarber/redcloth-treetop/commit/a7ff706aab8ca9d1398a45e9762dae5f6bced954</url>
  <id>a7ff706aab8ca9d1398a45e9762dae5f6bced954</id>
  <committed-date>2009-07-02T09:26:51-07:00</committed-date>
  <authored-date>2009-07-02T09:26:51-07:00</authored-date>
  <message>Added attributes parsing to strong.</message>
  <tree>63d3383445457fa6db3da050da139511740b2d71</tree>
  <committer>
    <name>Jason Garber</name>
    <email>jg@jasongarber.com</email>
  </committer>
</commit>
