Losing Tabs "\t"

  •  12-05-2008, 4:15 PM

    Losing Tabs "\t"

    I am programatically setting the editor's Text property to a string that contains HTML but it also has tabs ( \t ) and line feeds ( \r\n ).

    It looks like the XHTML property holds on to the \r\n  nicely but my tabs \t are completely lost.

    Is there any way to maintain the Tabs?

    Thanks,
    Phil

    -------------------
    Example: 

    "<div> somethign </div>
          <div> something tabed in </div>
                  <div> something tabbed in even farther </div>"

    gets turned into

    "<div> somethign </div>
    <div> something tabed in </div>
    <div> something tabbed in even farther </div>" 

    in the HTML mode of the editor (and also when I retrieve the Text property after making changes)

     

     
    Filed under:
View Complete Thread