Deduplicate identical mermaid fence bodies across the aggregate document by replacing repeats with a reference comment.
Description
Deduplicate identical mermaid fence bodies across the aggregate document by replacing repeats with a reference comment.