Finding easy function to add UBB codec function to openfire

i want to translate ubb code to html to view on page with it’'s clint based on web.

so who can tell me how to easiest to resolve this requirement?