Skip to content

Commit 11b455a

Browse files
authored
Merge pull request #262 from mino323/master
Update Elasticsearch.md
2 parents b073f4c + ebc8b6a commit 11b455a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

public/lessons/Elasticsearch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ fetch("https://elastic.learndatabases.dev/@username-example/_doc", {
2929
body: JSON.stringify({
3030
date: "2020-09-05",
3131
subject: "My first data",
32-
message: "I just wrote some data to my Elasticsearch!"
32+
message: "I just wrote some data to my Elasticsearch!",
3333
user: {
3434
id: 5
3535
}

views/tutorial.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
return hljs.highlightAuto(code).value;
4747
},
4848
});
49-
const markedHTML = marked(r);
49+
const markedHTML = marked.parse(r);
5050
const markedHTMLwithUserData = markedHTML
5151
.replace(/@username/gi, username)
5252
.replace(/@dbPassword/gi, dbPassword);

0 commit comments

Comments
 (0)