Articles on: Tutorials

Fix Quotation Marks Issue

Common quotation marks errors



If you are using single quotes, text editors may replace automatically them with "smart quotes" that are not supported by Carbone.
If you are using double quotes to filter attributes d.list[attributeValue="productstate"], you may encounter unexpected behaviors.

Solution



You must always use single quotes (also known as Straight quotes)!

MS word: On the File tab > click on Options > Click on Proofing > click on AutoCorrect Options. In the AutoCorrect dialog box, do the following: Click the AutoFormat As You Type tab and select or clear the "Straight quotes" with “smart quotes” check box.
LibreOffice: click on Tools > AutoCorrect > Localized Options. Then make sure the "replace" checkboxes for single and double quote are disabled. Here is a screenshot of the Libre Office configuration window:


Fix quotation marks issue on LibreOffice

Updated on: 09/09/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!