Allow plugins to return HTML responses
Bug #365925 reported by
Michael Gorven
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ibid |
Triaged
|
Low
|
Unassigned |
Bug Description
Some sources (like Jabber) support HTML, and it would be useful if plugins
could make use of this. My solution is to allow plugins to add an
additional 'html' field to the response dict. Sources which support HTML
would use that field if it exists and fallback to the 'reply' field. Plugins
would still be required to add a 'reply' field, although a utility function
could be provided which simply strips HTML tags.
affects ibid
milestone 0.2
importance low
Changed in ibid: | |
status: | New → Triaged |
To post a comment you must log in.
IRC supports colours, bold and underline -- we should attempt to translate the appropriate HTML to these.