Modify ↓
Opened 19 years ago
Closed 19 years ago
#5040 closed defect (wontfix)
Enscript adds a newline to the end of a shell script
| Reported by: | Owned by: | Christian Boos | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | version control/browser | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
When using enscript for syntax highlighting there is a bug that adds an additional newline to the display if the file ends with a comment.
I have attached a screenshot showing this behaviour.
Attachments (0)
Change History (2)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
This is due to a combination of the way enscript outputs HTML, and the way the deuglifier handles it. This is most likely a wontfix as TRAC is moving to Pygments for all your highlighting needs.
Note:
See TracTickets
for help on using tickets.



Well, I would attach a file but I get an error:
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 398, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.4/site-packages/trac/attachment.py", line 361, in process_request self._do_save(req, attachment) File "/usr/lib/python2.4/site-packages/trac/attachment.py", line 477, in _do_save for field, message in manipulator.validate_attachment(req, attachment): File "build/bdist.linux-x86_64/egg/tracspamfilter/adapters.py", line 130, in validate_attachment File "build/bdist.linux-x86_64/egg/tracspamfilter/api.py", line 131, in test File "build/bdist.linux-x86_64/egg/tracspamfilter/model.py", line 119, in insert File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 50, in execute return self.cursor.execute(sql_escape_percent(sql), args) File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 50, in execute return self.cursor.execute(sql_escape_percent(sql), args) ProgrammingError: current transaction is aborted, commands ignored until end of transaction block