ail-framework/var/www/static/js/helper.js
2019-12-09 16:56:07 +01:00

4 lines
126 B
JavaScript

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