Describe the bug
When adding movies with illegal characters in title, note creation fails. For example when trying to add "2001: A Space Odyssey", Obsidian will fail to create the new note with the following error (screenshots included below): "YAMLParseError: Nested mappings are not allowed in compact mappings at line 3, column 8".
To Reproduce
Steps to reproduce the behavior:
Open Media DB Search command
Search movie with an illegal character in title (tested with "2001: A Space Odyssey")
Select matching move and click "Ok"
Open devtools and see error in console
Expected behavior
Illegal character should either be stripped out or replaced with acceptable characters
Describe the bug When adding movies with illegal characters in title, note creation fails. For example when trying to add "2001: A Space Odyssey", Obsidian will fail to create the new note with the following error (screenshots included below): "YAMLParseError: Nested mappings are not allowed in compact mappings at line 3, column 8".
To Reproduce Steps to reproduce the behavior:
Expected behavior Illegal character should either be stripped out or replaced with acceptable characters
Screenshots Search:![image](https://github.com/mProjectsCode/obsidian-media-db-plugin/assets/61710654/794ff29d-ae02-44a8-8365-044e3bcb53d6)
Metadata Preview:![image](https://github.com/mProjectsCode/obsidian-media-db-plugin/assets/61710654/e0dec69b-25bc-4b60-a1ee-0a0fe495fa99)
Error Popup:![image](https://github.com/mProjectsCode/obsidian-media-db-plugin/assets/61710654/3eb1e6cb-4c61-407e-a32f-ce46b0104386)
Full Error (devtools):![image](https://github.com/mProjectsCode/obsidian-media-db-plugin/assets/61710654/d75956a6-5070-45f7-bab1-fa9ab98bd520)
Occurs on
Plugin version 0.6.0