speedcontrol / nodecg-speedcontrol

NodeCG bundle to help facilitate the running of speedrunning marathons, including overlays.
MIT License
45 stars 34 forks source link

Remove Markdown on horaro import when not desired #61

Closed gaeldemarseille closed 5 years ago

gaeldemarseille commented 5 years ago

An horaro column with C:\Users\Shadow\Desktop\Tweet Pics\The_Simpsons_Hit_and_Run_cover.png as value will be imported as C:\Users\Shadow\Desktop\Tweet Pics\TheSimpsonsHitandRun_cover.png and in this case it's obsiouly not desired

EDIT: value on horaro json is actually C:\\Users\\Shadow\\Desktop\\Tweet Pics\\The_Simpsons_Hit_and_Run_cover.png but was entered and is display on horaro without double \

zoton2 commented 5 years ago

Because of the edge case-iness of this I think I'll put in an option to disable markdown parsing for a certain custom column.

zoton2 commented 5 years ago

Added in dev branch, the customData object can now take a boolean, ignoreMarkdown.