Modify ↓
Opened 16 years ago
Closed 3 years ago
#3182 closed defect (wontfix)
Ampersand '&' in links causes a converting error
Reported by: | anonymous | Owned by: | Christophe de Vienne |
---|---|---|---|
Priority: | normal | Component: | PageToOdtPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
When converting a page to opendocument I get this error.
Oops… Trac detected an internal error: If you think this really should work and you can reproduce it, you should consider reporting this problem to the Trac team. Go to http://trac.edgewall.org/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the Python traceback found below. TracGuide — The Trac User and Administration Guide Python Traceback Traceback (most recent call last): File "/var/lib/python-support/python2.5/trac/web/main.py", line 406, in dispatch_request dispatcher.dispatch(req) File "/var/lib/python-support/python2.5/trac/web/main.py", line 237, in dispatch resp = chosen_handler.process_request(req) File "/var/lib/python-support/python2.5/trac/wiki/web_ui.py", line 134, in process_request page.text, format, page.name) File "/var/lib/python-support/python2.5/trac/mimeview/api.py", line 605, in send_converted content, selector) File "/var/lib/python-support/python2.5/trac/mimeview/api.py", line 385, in convert_content output = converter.convert_content(req, mimetype, content, ck) File "build/bdist.linux-x86_64/egg/pagetoodt/pagetoodt.py", line 43, in convert_content req, source, archive.read(fileinfo.filename) ) File "build/bdist.linux-x86_64/egg/pagetoodt/pagetoodt.py", line 93, in wiki_to_odtcontent wiki_to_odt(source, self.env, req, self.styles)) File "<string>", line 85, in XML SyntaxError: not well-formed (invalid token): line 70, column 157
I found it happens because of this link:
When removing the ampersand it works again (but it becames a broken link) :-(
Attachments (0)
Note: See
TracTickets for help on using
tickets.
Deprecated and removed.