How to output text with line breaks in ADF ?

   If we use regular "af:outputtext" component to print text with line breaks (new line symbols like "\n" or  "\r\n")  in ADF - we don't succeed. Text is displayed in one line regardless of those symbols. Instead we need to use  "af:outputFormatted" component. But it is not enough. While it does not understand "\n" or "\r\n" symbols, we need to use HTML <br> tag instead. Thus need to translate text manually by using custom java method. How it could be done is described in my other post - How to pass parameter to method using expression language (EL) in ADF? .