ruby on rails - Twittertext bug for auto_link_usernames_or_lists when deal with html -
the auto_link_usernames_or_lists can't deal html well. when trying generate link using html tag. when have mention string inside single html element not generate link if have more 2 tag generate link correctly
auto_link_usernames_or_lists('<p>@blankyao</p>') o/p - no link generated auto_link_usernames_or_lists('<span><p>@blankyao</p><span>') o/p - link generated
Comments
Post a Comment