Colon indent not rendered

Bug #308086 reported by GreenReaper
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Wikipedia Dump Reader
New
Undecided
Unassigned

Bug Description

The colon (:) is meant to indent text when placed at the start of a line; however, it is instead rendered as normal.

Tags: rendering
Revision history for this message
Toni Moll (yytomo) wrote :

This patch didn't have negative side-effects, at least in the article "Lambda calculus".

--- a/dumpReader.py
+++ b/dumpReader.py
@@ -427,7 +427,7 @@ def convertWikiList(txtLines):
                        elif c == '#':
                                out += "<ol>"
                                mode = "<li>%s</li>"
- elif c == ':' and lastpoped == '*':
+ elif c == ':':
                                out += "<dl><dd>"
                                mode = "<dd>%s</dd>"
                        elif c == ';':

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.