Fix linting and formatting issues

master
Maik de Kruif 2 weeks ago
parent cc261d6aaa
commit 6fa9f7b09f
No known key found for this signature in database
GPG Key ID: DB1A8C782DD43CB3
  1. 4
      content/writeups/adventofctf/2020/challenge_23.md
  2. 2
      content/writeups/adventofctf/2020/challenge_8.md

@ -49,7 +49,9 @@ $(function () {
socket.on("chat message", function (msg) { socket.on("chat message", function (msg) {
console.log(msg.command); console.log(msg.command);
if (msg.command === "code") { if (msg.command === "code") {
$("#messages").append($("<li>").html("<pre>" + msg.message + "</pre>")); $("#messages").append(
$("<li>").html("<pre>" + msg.message + "</pre>")
);
} else { } else {
$("#messages").append($("<li>").text(msg.message)); $("#messages").append($("<li>").text(msg.message));
} }

@ -41,7 +41,7 @@ This is talking about robots, which my be a hint to look at the [`robots.txt`](h
### What is a robots.txt file? ### What is a robots.txt file?
A `robots.txt` file lives at the root of a website. So, for the site www.example.com, a robots.txt file would live at www.example.com/robots.txt. robots.txt is a plain text file that follows the [Robots Exclusion Standard](http://en.wikipedia.org/wiki/Robots_exclusion_standard#About_the_standard). A robots.txt file consists of one or more rules. Each rule blocks (or allows) access for a given crawler to a specified file path in that website. A `robots.txt` file lives at the root of a website. So, for the site www\.example\.com, a robots.txt file would live at www\.example\.com/robots.txt. robots.txt is a plain text file that follows the [Robots Exclusion Standard](http://en.wikipedia.org/wiki/Robots_exclusion_standard#About_the_standard). A robots.txt file consists of one or more rules. Each rule blocks (or allows) access for a given crawler to a specified file path in that website.
### Opening the file ### Opening the file

Loading…
Cancel
Save