Function: curly_quotes

Function: curly_quotes

Usage

 curly_quotes(some_tagged_string)

Make quotes 'curly'. Single and double quotation marks are changed to opening or closing versions depending on where they appear in the text.

Parameters

Parameter Type Description
input tagged string String to make quotes curly in.

Examples

 curly_quotes("He said: 'This is cool!', she said: \"No way!\" ")
   ==  "He said: ‘This is cool!’, she said: “No way!” "
 curly_quotes("Also: ’Wrong quotes‘ ")
   ==  "Also: ‘Wrong quotes’ "