Skip to content
Snippets Groups Projects
Commit f701a9bc authored by Thomas Wood's avatar Thomas Wood
Browse files

Preserve newlines in example selector

parent eea49e71
No related branches found
No related tags found
No related merge requests found
......@@ -90,6 +90,7 @@ var source_files = [
source_files.reduce((select, file_content) => {
let option = document.createElement('option');
option.textContent = file_content;
option.value = file_content;
select.append(option);
return select;
}, $('#select_source_code'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment