jolicode / jolicode/JoliTypo

Nested quotes

Open
#69 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
351
Forks
29
Avg merge
1h 36m
Merged PRs (30d)
3

Description

When converting the following example using JoliTypo, nested quotes (quotes inside quotes) are not parsed and the closing quote is mistaken for an apostrophe.

### Input

"This 'magic' piece of code fixes dump quotes and apostrophes."

### Output

“This 'magic’ piece of code fixes dump quotes and apostrophes.”
------^

### Expected

“This ‘magic’ piece of code fixes dump quotes and apostrophes.”
------^

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.