mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-14 02:28:23 +00:00
5 lines
126 B
JavaScript
5 lines
126 B
JavaScript
|
// sanitise str_to_sanitize
|
||
|
function sanitize_text(str_to_sanitize) {
|
||
|
return $("<span\>").text(str_to_sanitize).html()
|
||
|
};
|