convert plain text to html
Convert plain text to html. For example: text="""aabhttp://www.example.com http://www.example.com http://www.example.com <<< [<aaaa></aaaa>] """ print plaintext2html(text) It can convert url text to html href. And it also can convert space to . So if you paste python code, the indent will not lost at all. Default it'll convert \t to 4 spaces.
- text