Remove commas
This commit is contained in:
parent
82561cb1a6
commit
8f7cd053aa
|
@ -82,11 +82,11 @@ const parseXML = (XML) => {
|
|||
abstract = abstract.replace(/<br>/g, "\n");
|
||||
}
|
||||
const md = `---
|
||||
name: "${title}",
|
||||
short: "${short}",
|
||||
date: new Date("${date.toString()}"),
|
||||
online: ${online},
|
||||
location: "${location}",
|
||||
name: "${title}"
|
||||
short: "${short}"
|
||||
date: new Date("${date.toString()}")
|
||||
online: ${online}
|
||||
location: "${location}"
|
||||
---
|
||||
|
||||
${abstract}`;
|
||||
|
|
|
@ -48,8 +48,8 @@ const parseXML = (XML) => {
|
|||
);
|
||||
|
||||
const md = `---
|
||||
author: ${author},
|
||||
date: new Date("${date}"),
|
||||
author: ${author}
|
||||
date: new Date("${date}")
|
||||
---
|
||||
|
||||
${content}`;
|
||||
|
|
Loading…
Reference in New Issue