tinoni / translate.js

A jQuery plugin to translate text in the client side
MIT License
87 stars 84 forks source link

added trim() #15

Open sumo89 opened 5 years ago

sumo89 commented 5 years ago

removes whitespace before and after the string so line breaks in the HTML will now work. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim