function myHtmlParser(divFrom, divTo){
// get the content of the origin div (first argument)
var content = document.getElementById(divFrom).innerText;
// remove the xmp tag
content = content.replace(/
/,"").replace(/<.xmp>/,"").replace(/<\/?span[^>]*>/g,"");
//console.log("This is the content of the html fragment!; ")
//console.log(content)
// write the content in the destination div (second argument)
document.getElementById(divTo).innerHTML = content;
}
// gvar will allow the function made in my d3 snippet to be in the whole environment
// See https://www.xul.fr/javascript/eval.php
var gvar = this;
function myJSParser(divFrom, divTo){
// get the content of the origin div (first argument)
var command = document.getElementById(divFrom).innerText;
// remove the xmp tag and the script tags
command = command.replace(//,"").replace(/<.xmp>/,"").replace(/