Two bugs were found during testing today:
1. False build failure reported for property beginning with # char. This is the same issue resolved in LRDOCS-6674 for the AddTOCTask. Apply fix here too.
2. Duplicated headers are being printed to console, but the build is not always failing when they're found. Ensure the build ALWAYS fails for duplicated headers, as this is a major error that must be fixed.