Improved OpenComments::format() method