Commits (2)
{
"name": "mfgames-writing-format",
"version": "0.9.0",
"version": "0.9.1",
"description": "A command-line framework for formatting books into a variety of formats.",
"repository": {
"type": "git",
......
......@@ -487,7 +487,7 @@ function renderContentMarkdown(content: ContentArgs): Promise<ContentArgs> {
// at the end of a quote to represent interruptions. However, the
// typography park of Marked doesn't really handle quotes properly in
// that case.
html = html.replace("—“", "—”");
html = html.replace(/—“/g, "—”");
// Markdown has an interesting quirk that a "break" is actually a
// backslash followed by a space. However, trailing spaces are difficult
......