crowdagger / crowbook

Converts books written in Markdown to HTML, LaTeX/PDF and EPUB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Smart quotes break for bold and italic text

Ellpeck opened this issue · comments

commented

As an example, this markdown

---
author: Test Person
title: Test Book
lang: en

output: [pdf]
---

"This is some text in quotes" followed by "some more text in quotes"

"*This is some text in quotes*" followed by "*some more text in quotes*"

"This is some text in quotes" *followed by* "some more text in quotes"

generates this output, where it is clearly visible that the quotes are incorrect if the text contained in them is italics.
image

It's not shown in this example, but the same happens for bold text.