Modify ↓
Opened 17 years ago
Closed 4 years ago
#4566 closed defect (wontfix)
Broken table
| Reported by: | Owned by: | hirobe | |
|---|---|---|---|
| Priority: | normal | Component: | TinyMceWikiPlugin |
| Severity: | blocker | Keywords: | table, html |
| Cc: | Trac Release: | 0.10 |
Description
Hi,
When I insert a table and I preview or submit the page, I get this error:
Traceback (most recent call last):
File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "/var/lib/python-support/python2.4/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "build/bdist.linux-i686/egg/tinymcewiki/tinymcewiki.py", line 147, in process_request
File "/var/lib/python-support/python2.4/trac/wiki/web_ui.py", line 135, in process_request
self._render_view(req, db, page)
File "/var/lib/python-support/python2.4/trac/wiki/web_ui.py", line 443, in _render_view
req.hdf['wiki'] = {
File "/var/lib/python-support/python2.4/trac/wiki/formatter.py", line 999, in wiki_to_html
Formatter(env, req, absurls, db).format(wikitext, out, escape_newlines)
File "/var/lib/python-support/python2.4/trac/wiki/formatter.py", line 793, in format
self.handle_code_block(line)
File "/var/lib/python-support/python2.4/trac/wiki/formatter.py", line 732, in handle_code_block
self.out.write(to_unicode(self.code_processor.process(
File "/var/lib/python-support/python2.4/trac/wiki/formatter.py", line 112, in process
text = self.processor(req, text)
File "/var/lib/python-support/python2.4/trac/wiki/formatter.py", line 100, in _macro_processor
return self.macro_provider.render_macro(req, self.name, text)
File "build/bdist.linux-i686/egg/tinymcewiki/tinymcewiki.py", line 49, in render_macro
File "HTMLParser.py", line 108, in feed
self.goahead(0)
File "HTMLParser.py", line 148, in goahead
k = self.parse_starttag(i)
File "HTMLParser.py", line 226, in parse_starttag
endpos = self.check_for_whole_start_tag(i)
File "HTMLParser.py", line 301, in check_for_whole_start_tag
self.error("malformed start tag")
File "HTMLParser.py", line 115, in error
raise HTMLParseError(message, self.getpos())
HTMLParseError: malformed start tag, at line 1, column 32
When I view the page in plain text format, some double-quotes (") are missing around the value of the table's style attribute:
<p><table style=border-color: #000000; border-width: 1px; width: 100%; border=1 class="wiki" >
Regards, Jonathan
Attachments (0)
Note: See
TracTickets for help on using
tickets.



Deprecated and removed.