[PATCH] New extension point interface to reformat the "replying to" block in a comment
|Reported by:||Owned by:|
|Severity:||normal||Keywords:||patch ticket comment|
Sometimes you don't want the original text in a response on a ticket in the "Replying to" line. Instead some sort of custom formatting (e.g. abbreviation, reference no.) could be used preferably.
Solution: A new extension point ITicketCommentFormatter defined in ticket/api.py.
The function quote_original() in ticket/web_ui.py calls the plugins, that implement the new extension point. So it is possible to reformat the "replying to" block in a comment, to leave it unchanged or to drop it at all.