Line feed \n \r <br>

Answered

Comments

6 comments

  • Official comment
    Andreas Kristensen

    Hi Anders

    By WATS report, you mean the UUT report? And which field are you setting? The report text? Could you please provide a screenshot?

    Comment actions Permalink
  • Anders

    Hey Andreas
    I hope this helps

    0
    Comment actions Permalink
  • Andreas Kristensen

    I see, in the additional results of a step. Unfortunately multiple lines isn't supported there at the moment. I have added a task in our system to improve this in an upcoming version of WATS

    0
    Comment actions Permalink
  • Anders

    Alright, do you know if I can do a search and replace "\n" to "<BR>" (<BR> is used as line feed?) in the Wats report generator? Or do I have to do it in LabView?

    0
    Comment actions Permalink
  • Andreas Kristensen

    No, currently, the value for the additional results (displayed with yellow background) is set as plain text. A <br> html tag won't be a line feed either, without making changes to the actual report code.

    1
    Comment actions Permalink
  • Anders

    Thanks for the help, solved it by moving the data in "additional results" to "Step.Result.ReportText"

    1
    Comment actions Permalink

Please sign in to leave a comment.