#12890: don't emit <p> tags in text mode when logdir specified.

Patch by Jeff McNeil.
diff --git a/Misc/ACKS b/Misc/ACKS
index 182c6a6..2b97f51 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -699,6 +699,7 @@
 Gordon McMillan
 Caolan McNamara
 Andrew McNamara
+Jeff McNeil
 Craig McPheeters
 Lambert Meertens
 Bill van Melle
diff --git a/Misc/NEWS b/Misc/NEWS
index a7af2cc..5010f70 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -132,6 +132,9 @@
 Library
 -------
 
+- Issue #12890: cgitb no longer prints spurious <p> tags in text
+  mode when the logdir option is specified.
+
 - Issue #16250: Fix URLError invocation with proper args.
 
 - Issue #16305: Fix a segmentation fault occurring when interrupting