diff --git a/lib/attrtastic/semantic_attributes_builder.rb b/lib/attrtastic/semantic_attributes_builder.rb
index <HASH>..<HASH> 100644
--- a/lib/attrtastic/semantic_attributes_builder.rb
+++ b/lib/attrtastic/semantic_attributes_builder.rb
@@ -193,7 +193,7 @@ module Attrtastic
           value_options[:html][:class] = [ options[:html][:class], value.class.to_s.underscore ].compact.join(" ")
 
           attributes_for(value, args, options, &block)
-        end.join
+        end.join.html_safe
       end
 
     end
diff --git a/lib/attrtastic/version.rb b/lib/attrtastic/version.rb
index <HASH>..<HASH> 100644
--- a/lib/attrtastic/version.rb
+++ b/lib/attrtastic/version.rb
@@ -1,3 +1,3 @@
 module Attrtastic
-  VERSION = "0.3.1"
+  VERSION = "0.3.2"
 end
Fix problem with attributes :for and not safe join on attributes