id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,branch,changelog,apichanges,internalchanges 5587,Internal error while browsing source of PHP file,marcel,Christian Boos,"If I have a PHP file that contains {{{ honk'; ?> }}} Trac is unable to display it in the source code browser. It gives this traceback: {{{ Traceback (most recent call last): File ""/usr/lib/python2.3/site-packages/trac/web/main.py"", line 389, in dispatch_request dispatcher.dispatch(req) File ""/usr/lib/python2.3/site-packages/trac/web/main.py"", line 246, in dispatch req.display(template, content_type or 'text/html') File ""/usr/lib/python2.3/site-packages/trac/web/api.py"", line 358, in display data = self.hdf.render(template, form_token) File ""/usr/lib/python2.3/site-packages/trac/web/clearsilver.py"", line 296, in render injector.feed(template.render()) File ""/usr/lib64/python2.3/HTMLParser.py"", line 108, in feed self.goahead(0) File ""/usr/lib64/python2.3/HTMLParser.py"", line 150, in goahead k = self.parse_endtag(i) File ""/usr/lib64/python2.3/HTMLParser.py"", line 327, in parse_endtag self.error(""bad end tag: %s"" % `rawdata[i:j]`) File ""/usr/lib64/python2.3/HTMLParser.py"", line 115, in error raise HTMLParseError(message, self.getpos()) HTMLParseError: bad end tag: '', at line 96, column 163 }}}",defect,closed,normal,,version control/browser,,normal,duplicate,,,,,,