From 420fda2fd7f244aa22f92f2362e6150d4eca4915 Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Wed, 29 May 2024 14:06:24 -0400 Subject: [PATCH] roffit: Decrease the indent level for .PP Prior to this change when .PP (regular paragraph) was used after .IP (indented paragraph) roffit would not change the indent level which resulted in regular paragraphs having the same indent as the previously indented paragraph. Ref: https://github.com/curl/curl/issues/13803#issuecomment-2135857895 Closes #xxxxx --- roffit | 1 + 1 file changed, 1 insertion(+) diff --git a/roffit b/roffit index 56c1fda..c01cfef 100755 --- a/roffit +++ b/roffit @@ -502,6 +502,7 @@ sub parsefile { $within_tp=0; showp(@p); @p=""; + $indentlevel-- if ($indentlevel); } elsif($keyword =~ /^fi$/i) { # .fi = fill-in, extra space will be ignored and text that is