1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-02-27 00:54:15 +01:00

Fix - examples: Write the code to be displayed in the server load code tab as text so any HTML entities will be escaped

This commit is contained in:
Allan Jardine 2015-11-06 10:40:22 +00:00
parent 06a6a0c429
commit 369214c777
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
5a8a04589408599b83fe97ce0073056b1c5f6b7f
fc02076573478d3c57ae638fc2ebcaa3e4bd9bdd

View File

@ -58,7 +58,7 @@ if ( window.$ ) {
} catch ( e ) {}
$('div.tabs div.ajax').append(
'<code class="multiline language-js">'+str+'</code>'
$('<code class="multiline language-js"/>').text( str )
);
// This can be really slow for large builds