Allow plugins to return HTML responses

Bug #365925 reported by Michael Gorven
2
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
Revision history for this message
Max Rabkin (max-rabkin) wrote :

IRC supports colours, bold and underline -- we should attempt to translate the appropriate HTML to these.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.