Fixed regex that recognizes indented code blocks. Fixed footnotes with internal parentheses.