It all works perfect until the text in [[*content]] exceeds 765 characters (including spaces). At that point the lay-out is completely ruined.
I really don’t know why. Has anybody here a clue? Or knows how to solve this?
Unfortunately, I’m not a developer and I don’t understand what I can or should do with this. It’s beyond me. I therefore create two templates (one with sidebar and one without, then the nested if function is no longer necessary) instead of one template with complete flexibility.
In the pull request I linked, go to the tab “Files changed”. 2 files are changed, but only the change to core/src/Revolution/modParser.php is relevant.
In your MODX installation, change the file core/src/Revolution/modParser.php to reflect the changes from the pull request. (All you really need to do is to change the pattern on line 150.)
This change will be included in the next release of MODX 3, but for now you have to change it manually (or install a nightly build).