render tab characters in html
        Posted  
        
            by Midhat
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Midhat
        
        
        
        Published on 2010-04-19T06:36:50Z
        Indexed on 
            2010/04/19
            6:43 UTC
        
        
        Read the original article
        Hit count: 321
        
html
|tab-character
I have to render some text to a web page. The text is coming from sources outside my control and it is formatted using \n and\t
Now \n can be replaced by a <br> but what about \t. A brief search reveals there is no way to render tab characters in html, bu there has to be a workaround. Anyone?
© Stack Overflow or respective owner