LPS-46690 fix BBCode HTML generation for code blocks