I have written a small api in ruby on rails and I am getting some data from a site but i have a problem. Instead of getting "Kahlúa" I am getting "Kahlúa" . I have tried using a sanitizer but i cant figure out how to do it :/
This is my code :
<% full_sanitizer= Rails::Html::FullSanitizer.new %>
<%= full_sanitizer.sanitize( link_to(course["title"], course["f2f_url"])) %>
I was thinking this is removen "ú" but it is only removing the link ;/ Can someone help me?
If you give me a MINUS pls comment and tell me what I did wrong so I can improve. Thanks :)