Pretty print: Images are treated as inline elements
Pretty print: removed obsolete commented code