|
|
|
@ -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.replace(/"/g, '\\"')}" |
|
|
|
|
short: "${short.replace(/"/g, '\\"')}" |
|
|
|
|
date: "${date.toString().replace(/"/g, '\\"')}" |
|
|
|
|
online: ${online} |
|
|
|
|
location: "${location.replace(/"/g, '\\"')}" |
|
|
|
|
--- |
|
|
|
|
|
|
|
|
|
${abstract}`;
|
|
|
|
|