Description
Blank lines of Python code are numbered, but there is no line break at the end. The line following a blank line in the Python code are written on the same line in the web browser.
Konqueror (with line numbers):
1 # -*- coding: utf-8 -*- 2 """ 3 MoinMoin - "application/pdf" Formatter 4 Uses the text/latex formatter and then pdflatex. 5 6 NOT SECURE. USE ONLY ON VERY MUCH TRUSTED WIKIS LIKE A LOCAL ONE. 7 8 No error checking, no support. Works For Me (TM) 9 Needs my latex parser and text/latex formatter installed. 10 11 Copyright 2005 Johannes Berg <johannes@sipsolutions.net> 12 13 All rights reserved, see COPYING for details. 14 """
Konqueror (line numbers off):
- {{{# -*- coding: utf-8 -*-
"""
MoinMoin - "application/pdf" Formatter Uses the text/latex formatter and then pdflatex.
- NOT SECURE. USE ONLY ON VERY MUCH TRUSTED WIKIS LIKE A LOCAL ONE. No error checking, no support. Works For Me (TM)
Copyright 2005 Johannes Berg <johannes@sipsolutions.net> All rights reserved, see COPYING for details.
""" }}}
Firefox:
- {{{ 1 # -*- coding: utf-8 -*-
- 2 """
3 MoinMoin - "application/pdf" Formatter 4 Uses the text/latex formatter and then pdflatex. 5 6 NOT SECURE. USE ONLY ON VERY MUCH TRUSTED WIKIS LIKE A LOCAL ONE. 7 8 No error checking, no support. Works For Me (TM) 9 Needs my latex parser and text/latex formatter installed.
- 10
11 Copyright 2005 Johannes Berg <johannes@sipsolutions.net> 12 13 All rights reserved, see COPYING for details. 14 """
- 2 """
}}}
Steps to reproduce
Go to any page with #format python with Konqueror.
I can't reproduce it on: http://moinmoin.wikiwikiweb.de/parser/acronyms.py with Konqueror 3.3.2.
It might be a konqueror/kde 3.4 problem. Bug reproduced with konqueror 3.4.1 at home. I think I might have konqueror 3.4.x at work (can't check right now), where the bug is evident also. -- TimCera 2005-08-13 17:57:50 Not reproduceable with 3.4.3. Closing.
Example
http://moinmoin.wikiwikiweb.de/FormatterMarket/application_pdf.py
Details
This happens with Konqueror on two very different machines. Gentoo on AMD64 and Redhat 9.
MoinMoin Version |
|
OS and Version |
|
Python Version |
|
Server Setup |
|
Server Details |
|
Workaround
Discussion
It seems that Konqueror does not parse an empty <span> </span> correctly.
I have seen a similiar result if the file wasn't send complete to the konqueror browser. Did you toggle the line number after seeing in the status bar that's the file was complete loaded? At the end the last bytes are send very slow to a modem connection. -- ReimarBauer 2005-08-13 07:26:56
I have noticed this bug at home on a DSL connection, and at work with what I think is a T1. -- TimCera 2005-08-13 17:57:50
I have this noticed on several different konquerors and speed too but always if I wait till konqueror tells it is complete loaded it goes right. Did you have the same experience? -- ReimarBauer 2005-08-13 18:23:47
No, konqueror says "Page loaded" in the status line. -- TimCera 2005-08-14 00:04:17
Ok, then best is to file a bugreport to the kde team at http://bugs.kde.org/ . you got my vote -- ReimarBauer 2005-08-14 06:51:35
Plan
- Priority:
- Assigned to:
- Status: