Parser: Simplify showTOC/suppressTOC logic
commit52d1259b1b3bf884cd658fdbdbe0d23e969d0fc9
authorC. Scott Ananian <cscott@cscott.net>
Fri, 28 Apr 2023 15:23:58 +0000 (28 11:23 -0400)
committerC. Scott Ananian <cscott@cscott.net>
Fri, 28 Apr 2023 15:23:58 +0000 (28 11:23 -0400)
treea054aaf7c3880640edc5f816079987318ba889f7
parent0448851e92ed4c0148bbf6c4a91c3e790a7adabf
Parser: Simplify showTOC/suppressTOC logic

Just a bit of cleanup to simplify the logic around showing/suppressing
the TOC.

Change-Id: I99f1f29bf067df2ea3f9f235af7ce054d7e4af68
Followup-To: Ib41e6e4926cb752826ad75d10e8692125fc0b064
includes/parser/Parser.php