Bug fix to Peter Thatcher's html2latex perl script