Mermaid apply MAX_CHAR_LIMIT to each diagram instead of using the sum
Issue
I am running into the same issues as discussed in !60490 (closed).
The MR was closed but there was no follow up.
The limitations for mermaid are still in place and they are:
- MAX_CHAR_LIMIT is 2000
- The limit applies to the sum of all mermaid graphs on a page.
Proposal
Apply the MAX_CHAR_LIMIT to be applied individually for each diagram.
Along side this change, if the MAX_CHAR_LIMIT could be increased to 5000, that would be great as well.