Hi Siddick ,

           Thanks a lot for your response but ...
           It didn't work . html_output outputs the same content as
html variable .

Newton

On Sep 30, 4:07 am, Siddick Ebramsha <rails-mailing-l...@andreas-
s.net> wrote:
> Try this one
>
> html_output = html.gsub(pattern) do |link|
>         "<a href='http://mysite.com/redirect/#{$1}'>#{$2}</a>"
> end
>
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to