Opened 8 years ago

#4566 new defect

Broken table

Reported by: jonathan.derrough@… Owned by: hirobe
Priority: normal Component: TinyMceWikiPlugin
Severity: blocker Keywords: table, html
Cc: Trac Release: 0.10



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/", line 387, in dispatch_request
  File "/var/lib/python-support/python2.4/trac/web/", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/tinymcewiki/", line 147, in process_request
  File "/var/lib/python-support/python2.4/trac/wiki/", line 135, in process_request
    self._render_view(req, db, page)
  File "/var/lib/python-support/python2.4/trac/wiki/", line 443, in _render_view
    req.hdf['wiki'] = {
  File "/var/lib/python-support/python2.4/trac/wiki/", 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/", line 793, in format
  File "/var/lib/python-support/python2.4/trac/wiki/", line 732, in handle_code_block
  File "/var/lib/python-support/python2.4/trac/wiki/", line 112, in process
    text = self.processor(req, text)
  File "/var/lib/python-support/python2.4/trac/wiki/", line 100, in _macro_processor
    return self.macro_provider.render_macro(req,, text)
  File "build/bdist.linux-i686/egg/tinymcewiki/", line 49, in render_macro
  File "", line 108, in feed
  File "", line 148, in goahead
    k = self.parse_starttag(i)
  File "", line 226, in parse_starttag
    endpos = self.check_for_whole_start_tag(i)
  File "", line 301, in check_for_whole_start_tag
    self.error("malformed start tag")
  File "", 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)

Change History (0)

Add Comment

Modify Ticket

as new The owner will remain hirobe.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.