From aa74230ba4914d26e8c8983425e76c39c75dfa8e Mon Sep 17 00:00:00 2001 From: Dave Machado Date: Sun, 14 Jan 2018 13:45:19 -0500 Subject: [PATCH] Update Markdown2JSON converter for CORS --- build/md2json.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/md2json.py b/build/md2json.py index 86bd5e81..111f8981 100755 --- a/build/md2json.py +++ b/build/md2json.py @@ -22,7 +22,8 @@ def markdown_to_json(filename, anchor): 'Description': chunks[1], 'Auth': None if chunks[2].upper() == 'NO' else chunks[2].strip('`'), 'HTTPS': True if chunks[3].upper() == 'YES' else False, - 'Link': chunks[4].replace('[Go!]', '')[1:-1], + 'CORS': chunks[4].strip('`'), + 'Link': chunks[5].replace('[Go!]', '')[1:-1], 'Category': category, } entries.append(entry)