`); getGeographyAspects(geographylevel,aspectid); } }); } hljs.initHighlightingOnLoad(); //converts html tags to text function htmlEntities(str) { return String(str).replace(/&/g, '&').replace(//g, '>').replace(/"/g, '"'); } //function to get aspects by geographylevel function getGeographyAspects(geographylevel,aspectid) { $.getJSON( "include/getgeographyaspects.php", { geographylevel: geographylevel, aspectid: aspectid } ) .done(function( json ) { var aspects = ""; aspects += '