Ensure formatters can handle masked elements