bundles/org.eclipse.orion.client.core/web/orion/bidiFormat.js
function (text, type, args, isRtl, locale) {
            return getHandler(type).format(text, args, isRtl, true, locale);
        }
function (text, type, args, isRtl, locale) {
            return getHandler(type).format(text, args, isRtl, true, locale);
        }
function ( text , type , args , isRtl , locale ) { return getHandler ( type ) . format ( text , args , isRtl , true , locale ) ; }
Returns the HTML representation of a given structured text
@param text - the structured text
@param type - could be one of filepath, url, email
@param args - pass additional arguments to the handler. generally null.
@param isRtl - indicates if the GUI is mirrored
@param locale - the browser locale
Returns the HTML representation of a given structured text