Fix handling of when an admin edits a non-bb-code page and saves it as bb-code. This fixes cases where attachment counter bugs count and doesn't correctly work.
When an admin edits a non-bb-code page from the front-end, the existing template will be rendered to html and then to bb-code. This is a lossy and not particularly reliable process, so it is recommended the original template contents is kept on hand to be manually converted to bb-code