In this section, a script is reproduced using syntax highlighting. The advantage of this is, that apparently all processing of text is turned off, so no problems with pipe characters. The disadvantage is, that all indentation is lost. I tried to fix this, first using Template:Tab, and when that didn't work I tried inserting & nbsp; directly, but that didn't work either.
Since the pipe character problem can be solved by replacing them with Template:!, I wonder whether it would not be better to forgo syntax highlighting in order to have proper indentation?
Thats basically an issue with html. each space gets removed when rendering. I wonder how that could be solved.