summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--tmac/s.tmac2
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0de438e83..3d3ef4472 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2021-10-24 Keith Marshall <keith.d.marshall@ntlworld.com>
+
+ [ms]: Fix misleading NH macro indentation.
+
+ * tmac/s.tmac (@NH) [.T is html]: .if statement should exhibit same
+ indentation as preceding .DEVTAG-NH statement, but is overindented;
+ fix it.
+
2021-10-23 Keith Marshall <keith.d.marshall@ntlworld.com>
[ms]: Defend against uncontrolled page trap recursion.
diff --git a/tmac/s.tmac b/tmac/s.tmac
index 735e50e97..ebc58179c 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -1701,7 +1701,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
.nr sh*psincr (\\n[GROWPS]-\\n[nh*hl])*\\n[PSINCR]
.SH-NO-TAG
.DEVTAG-NH "\\$1"
-. if '\*(.T'html' .nr s@devtag-needs-end-of-heading 1
+.if '\*(.T'html' .nr s@devtag-needs-end-of-heading 1
\\*[SN-STYLE]
..
.\" ****************************