blinkk / amagaki-plugin-google-sheets

Amagaki plugin that provides Google Sheets integration for content management. Store website copy in a Google Sheet and consume it within an Amagaki project.
MIT License
0 stars 0 forks source link

If the spreadsheet cell content starts with an apostrophe/single quote ('), the Sheets API removes it #22

Open willthomson opened 2 years ago

willthomson commented 2 years ago

We have some spreadsheet content that contains quoted text (used for a quote module). We used double quotes which are fine, but translators have used single quotes for other languages. In these cases, the sheets API removes the single quote from the beginning of the string, leaving just a single quote at the end.

There are others facing similar issues with no clear fix for our case:

willthomson commented 2 years ago

Please see the associated pull request. This fix may be too crude but I couldn't see a better option.