From d26356c677cc7a691b5d5fc4a849d5da06e34f34 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