Back to front pageView on Hacker News (opens in a new tab)Show HN: This page is a truly naked, brutalist HTML quine (opens in a new tab)secretgeek.github.io633 pointsby LeonB (on Hacker News)7 years agosecretgeek.github.io (opens in a new tab)This page is a truly naked, brutalist html quine.Comments (94) 31 threadsShow all commentsShowing thread 13 of 31[-]no_gravity7 years ago1 reply#Tried to replicate the technique in a minimal example:https://no-gravity.github.io/html-quine/index.htmlI am getting some additional empty lines in the output. And the closing html tag is missing. Any ideas why?[-]cocochanel7 years ago1 reply#Remove the _white-space: pre;_ from your style.[-]no_gravity7 years ago1 reply#Then the empty lines that are in the source are missing in the output. Looks like the Show HN avoids this by not having empty lines in text.no_gravity7 years ago1 reply#Upon closer inspection, I now see that the Show HN also has additional empty lines in the rendered view.End of the source: Rendered in the browser as: Continue this thread — 1 reply
Show HN: This page is a truly naked, brutalist HTML quine (opens in a new tab)secretgeek.github.io633 pointsby LeonB (on Hacker News)7 years ago
no_gravity7 years ago1 reply#Tried to replicate the technique in a minimal example:https://no-gravity.github.io/html-quine/index.htmlI am getting some additional empty lines in the output. And the closing html tag is missing. Any ideas why?
no_gravity7 years ago1 reply#Then the empty lines that are in the source are missing in the output. Looks like the Show HN avoids this by not having empty lines in text.
no_gravity7 years ago1 reply#Upon closer inspection, I now see that the Show HN also has additional empty lines in the rendered view.End of the source: Rendered in the browser as:
Comments (94) 31 threads
Show all comments
Showing thread 13 of 31
https://no-gravity.github.io/html-quine/index.html
I am getting some additional empty lines in the output. And the closing html tag is missing. Any ideas why?
End of the source:
Rendered in the browser as:Continue this thread — 1 reply