Bug report #682
HTML in python console not escaped
Status: | Closed | ||
---|---|---|---|
Priority: | Low | ||
Assignee: | nobody - | ||
Category: | Python plugins | ||
Affected QGIS version: | Regression?: | No | |
Operating System: | Linux | Easy fix?: | No |
Pull Request or Patch supplied: | Resolution: | fixed | |
Crashes QGIS or corrupts data: | Copied to github as #: | 10741 |
Description
Text from the python console is interpreted as HTML, so when python prints something in angle brackets (eg <+main+.Foo instance at 0xb7d0c40c>) you see nothing.
I used to get round this by printing to stdout and seeing it on the calling console, but now print in python goes to the python console :)
Not sure if its possible to html-escape output to the console, or just turn the console into a plain text window.
History
#1 Updated by Martin Dobias almost 18 years ago
- Resolution set to fixed
- Status changed from Open to Closed
Fixed in ef92d638 (SVN r6830) by Gary.