crowdagger / crowbook

Converts books written in Markdown to HTML, LaTeX/PDF and EPUB
GNU Lesser General Public License v2.1
744 stars 38 forks source link

Smart quotes break for bold and italic text #84

Open Ellpeck opened 3 years ago

Ellpeck commented 3 years ago

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.