Skip to content

Incorrect smart_quote handling around underscore markup #57

@Vaguery

Description

@Vaguery

Using kramdown to mark up a digitized book, I've been converting the OCR-generated asterisks to underscores to improve the code's readability.

The :smart_quotes substitution algorithm breaks around text with underscores. For example:

"_Hurrah!_"

'__Absolutely__.'

renders both lines with closing quotes at both ends of the word. Asterisk markup works correctly, as does explicit html markup.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions