fixed python scripts for wandbox link update and html doc generation
diff --git a/scripts/generate_html.py b/scripts/generate_html.py
index a82a579..ad95d52 100644
--- a/scripts/generate_html.py
+++ b/scripts/generate_html.py
@@ -19,7 +19,8 @@
         html.write('<html>\n')
         html.write('<title>' + filename[:-3] + '</title>\n')
         html.write('<xmp theme="united" style="display:none;">\n\n')
-        md_contents = md_contents.replace(".md)", ".html)")
+        md_contents = md_contents.replace(".md", ".html")
+        md_contents = md_contents.replace("```c++", "```")
         html.write(md_contents)
         html.write('\n\n</xmp>\n')
         html.write('<script src="strapdown.js/strapdown.js"></script>\n')