summaryrefslogtreecommitdiff
path: root/Mailman/HTMLFormatter.py
diff options
context:
space:
mode:
authorklm1998-11-22 02:06:09 +0000
committerklm1998-11-22 02:06:09 +0000
commitd8e98f40f0aab1ce843da70a17cc4b7a1015f787 (patch)
treecfeb5eda7a311016cc4668687f4bd97d3fda8ec0 /Mailman/HTMLFormatter.py
parent1c4827ff8fc6425e82ac2ee519e92e0258179f3c (diff)
downloadmailman-d8e98f40f0aab1ce843da70a17cc4b7a1015f787.tar.gz
mailman-d8e98f40f0aab1ce843da70a17cc4b7a1015f787.tar.zst
mailman-d8e98f40f0aab1ce843da70a17cc4b7a1015f787.zip
.format_article(): Archiving would occasionally fail when an empty
line occurred at the beginning of an article - because the space-preserving format style would try to prepend "<pre>" to the None object that's used as a place holder. Instead of doing string concatenation, i'm doing the simpler [].insert(0...) and [].append() to the list of lines. (It'd probably also be a good idea to fix the code to not use the None place holders, but it's hard to tell what depends on what there.)
Diffstat (limited to 'Mailman/HTMLFormatter.py')
0 files changed, 0 insertions, 0 deletions