dirty fix to avoid crashing when compiling the document with comments for commit changes which include $