vaakash / git-it-write

A WordPress plugin to publish markdown files present in a Github repository as posts to WordPress automatically.
https://www.aakashweb.com/wordpress-plugins/git-it-write/
GNU General Public License v3.0
45 stars 22 forks source link

special characters not supported in post properties #30

Closed myannou closed 1 year ago

myannou commented 1 year ago

special characters like single quote (') or colon (:) in post properties (Title, post_excerpt, ...) Generate error when synchronizing articles:

Fatal error: Uncaught Symfony\Component\Yaml\Exception\ParseException: Unable to parse at line 6 (near "Il s'intègre particulièrement..."

vaakash commented 1 year ago

Hi @myannou, the error looks like YAML formatting error. The plugin does support UTF characters set as post title, description. Please refer below document for YAML syntax - https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html