Commits

ben...@pollen  committed f83d14c

iframe.

  • Participants
  • Parent commits d7ded68

Comments (0)

Files changed (1)

File templates/paste/embed.js

         '.friendpaste_link \{ float: right; witdh: 150px; \}\n'+ 
         '</style>');
 
-document.write('<div class=\"friendpaste highlight\">{{ snippet.content|highlight(snippet.language)|re_escape }}<div class=\"friendpaste_meta\"><span class="friendpaste_actions"><a href=\"{{ SITE_URI }}/{{ snippet.pasteid }}\">link</a> - <a href=\"{{ SITE_URI }}/{{ snippet.pasteid }}/raw\">raw</a></span><span class="friendpaste_link">This paste is brought you by <a href=\"{{ SITE_URI }}\">Friendpaste</a>.</span></div>');
+document.write('<iframe class=\"friendpaste highlight\">{{ snippet.content|highlight(snippet.language)|re_escape }}<div class=\"friendpaste_meta\"><span class="friendpaste_actions"><a href=\"{{ SITE_URI }}/{{ snippet.pasteid }}\">link</a> - <a href=\"{{ SITE_URI }}/{{ snippet.pasteid }}/raw\">raw</a></span><span class="friendpaste_link">This paste is brought you by <a href=\"{{ SITE_URI }}\">Friendpaste</a>.</span></iframe>');