Marek de Heus
2009-Feb-03 23:13 UTC
Running autolink on text containing a mailto: link breaks
ActionView::Helpers::TextHelper#autolink does not handle certain mailto: links properly. Assume the following html: <a href="mailto:david@loudthinking.com">Mail me</a> When running this html through autolink, it should not alter the html. However it is transformed to: <a href="mailto:<a href="david@loudthinking.com">david@loudthinking.com</a>">Mail me</a> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
Marek de Heus
2009-Feb-03 23:24 UTC
Re: Running autolink on text containing a mailto: link breaks
Oops, duplicate issue, ignore this post and see: http://groups.google.com/group/rubyonrails-core/t/b8ab1d61416ee641 On Feb 4, 12:13 am, Marek de Heus <marek4...@gmail.com> wrote:> ActionView::Helpers::TextHelper#autolink does not handle certain > mailto: links properly. > > Assume the following html: > > <a href="mailto:da...@loudthinking.com">Mail me</a> > > When running this html through autolink, it should not alter the html. > However it is transformed to: > > <a href="mailto:<a > href="da...@loudthinking.com">da...@loudthinking.com</a>">Mail me</a>--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---