There are a number of common pitfalls encountered when writing output filters; this page aims to document best practice for authors of new or existing filters. This document is applicable to both ...