bwop. readability
This commit is contained in:
parent
ebbf2c6ec8
commit
487022ce15
1 changed files with 1 additions and 1 deletions
2
shit.mjs
2
shit.mjs
|
|
@ -10,7 +10,7 @@ createServer(async (request, response) => {
|
|||
response.writeHead(200, {
|
||||
'content-type': 'text/html',
|
||||
}).end(
|
||||
`<pre>${
|
||||
`<pre style="white-space:pre-wrap;text-indent:4ch hanging each-line">${
|
||||
(await readFile('a.txt', {flag: 'a+', encoding: 'utf8'}))
|
||||
// ugh, fine, i'll html escape it. no xss for you
|
||||
.replace(/[<>&'"]/g, match => ({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue