inukshuk / citeproc-ruby

A Citation Style Language (CSL) Cite Processor
103 stars 23 forks source link

Handle close quotes that may be multiple characters. #72

Closed LinuxMercedes closed 4 years ago

LinuxMercedes commented 4 years ago

For example, one may want to use "”" and "’" to generate smart HTML quotes. In addition, quote the quotes for regex safety.

See https://github.com/inukshuk/jekyll-scholar/issues/290#issuecomment-576799285 for further context.

EDIT: I haven't put in tests for this yet but I am more than happy to if you can give me an idea of what you'd like to see tested.

inukshuk commented 4 years ago

Thanks! Existing tests should cover this already, so we're good.