fixes code for showing code on rdoc format