Implement Tear's suggestion on <pre> causing table overflow