fmt:email-to-html may wrongly identify quoted passages as Python
Bug #132263 reported by
Curtis Hovey
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Passages of may be wrongly be interpreted as Python because they start with '>>> '. The function does not check that next and previous lines of text consistently uses '>>> ' as Python would.
The function could examine the context or a line, or process paragraphs the whole paragraph with a multiline regexp, but that would be slower than the current approach.
tags: | added: tech-debt |
Changed in launchpad-foundations: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: tales |
affects: | launchpad-foundations → launchpad-web |
To post a comment you must log in.
Python also uses '... ' as well as '>>> ' in the interactive interpreter output.