Well, I solved it with this line:
<%= link_to name, '/tag/'+name.gsub('.','%2E'), :class => css_class %>