ail-framework/var/www/static/js/helper.js

5 lines
125 B
JavaScript
Raw Permalink Normal View History

// sanitise str_to_sanitize
function sanitize_text(str_to_sanitize) {
return $("<span\>").text(str_to_sanitize).html()
}