3 Replies Latest reply on Nov 20, 2007 5:41 AM by Pete Muir

    s:formattedText parser problem?

    Peter Lustig Newbie

      Hello i try to use s:formattedText, but what happens if the Input Syntax is not correct, e.g. i forgot to set a second (or third) * i retrieve an XML error like this:

      <b>Hello</b> World<b></p>
      --------------------------------------^


      The syntax used to produce this error was:

      *Hello* World*


      So is there any way to have the string that will be rendered checked if the syntax is well balanced before displaying it? Or is there some flag, that sort of "auto balances" the whole thing?

      Or maybe i can call some backend function from somewhere within the deep underground of UI component classes or a validator or whatever to avoid that type of error?

      Any comments on this would be appreciated of course ;)

      Jens