To expose the code of an underlying script, I found a recommendation to use the combination of a form and textarea as an effective code display method.

The biggest benefit is that the code need not be reworked in any way. Whatever characters are needed will simply display as-is.

It is necessary to set the row and column numbers of the text area to fit the code to show or there will be scrollbars to accommodate the excess code. The default textarea size is pretty small. The textarea object has a resizing capability built into it, so if I miss the size, a person can adjust the text area size on their own by dragging the bottom right corner of the text area inside the browser window. Go ahead, try it.