SONAR-4653 fix rendering in code viewers