d2k icon indicating copy to clipboard operation
d2k copied to clipboard

Bad Pango markup crashes the console/HUD

Open camgunz opened this issue 7 years ago • 0 comments

If you somehow get bad Pango markup in the console or a HUD interface, that interface will stop rendering because Pango refuses to render text with bad markup.

The messaging pipelines are pretty complicated and may need a refactor. But the interim fix is to check new text to see if it contains bad markup and give an error if so. Just dumping whatever into a Pango-processed buffer is bad practice I think.

camgunz avatar Apr 30 '17 17:04 camgunz