swiftlang/swift-markdown

Quotation Marks are changed

noah-nuebling opened this issue · 1 comments

Hi, first off thanks for making this library. It's really useful and fun to work with!

I have the problem that normal quotation marks in my strings are replaced by tilted quotation marks after using a MarkupVisitor on the text.

When I parse a string containing

"

It will be transformed to

The same thing happens to single quotation marks.

I want to compare parts of the original string with the markup elements during parsing, and this is making it difficult.

Let me know if you have any questions or if you need more info on how to reproduce this.
Thank you.

Nevermind, I found the .disableSmartOpts option.