| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8" /> | 4 <meta charset="utf-8" /> |
| 5 <title>Making Quines Prettier</title> | 5 <title>Making Quines Prettier</title> |
| 6 <!-- The defer is not necessary for autoloading, but is necessary for the | 6 <!-- The defer is not necessary for autoloading, but is necessary for the |
| 7 script at the bottom to work as a Quine. --> | 7 script at the bottom to work as a Quine. --> |
| 8 <script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify
.js?autoload=true&skin=sunburst&lang=css" defer="defer"></script> | 8 <script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify
.js?autoload=true&skin=sunburst&lang=css" defer="defer"></script> |
| 9 <style>.operative { font-weight: bold; border:1px solid yellow }</style> | 9 <style>.operative { font-weight: bold; border:1px solid yellow }</style> |
| 10 </head> | 10 </head> |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 // Highlight the operative parts: | 46 // Highlight the operative parts: |
| 47 quineHtml = quineHtml.replace( | 47 quineHtml = quineHtml.replace( |
| 48 /<script src[\s\S]*?><\/script>|<!--\?[\s\S]*?-->|<pre\
b[\s\S]*?<\/pre>/g, | 48 /<script src[\s\S]*?><\/script>|<!--\?[\s\S]*?-->|<pre\
b[\s\S]*?<\/pre>/g, |
| 49 '<span class="operative">$&</span>'); | 49 '<span class="operative">$&</span>'); |
| 50 | 50 |
| 51 document.getElementById("quine").innerHTML = quineHtml; | 51 document.getElementById("quine").innerHTML = quineHtml; |
| 52 })(); | 52 })(); |
| 53 //]]> | 53 //]]> |
| 54 </script></body> | 54 </script></body> |
| 55 </html> | 55 </html> |
| OLD | NEW |