Verified Commit 77db6b0f authored by Marco Kellershoff's avatar Marco Kellershoff 🤸
Browse files

Add html-skeleton around script tag

parent 5179dd28
......@@ -31,7 +31,7 @@ if ($input === '') {
switch ($syntax) {
case 'javascript':
$output = '<script>'.$input.'</script>';
$output = '<!DOCTYPE html><html><head><title></title></head><body><script>'.$input.'</script></body></html>';
break;
case 'markdown':
$skel = file_get_contents('./lib/com/walialu/markdown-style/markdown-skel.html');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment