remark42 icon indicating copy to clipboard operation
remark42 copied to clipboard

Reduce number of symbols in Telegram messages

Open paskal opened this issue 3 years ago • 3 comments

It makes sense not to cite long messages in Telegram, leaving 50 or 100 messages should be enough.

paskal avatar Jan 19 '23 01:01 paskal

The problem here is that a telegram message is HTML, so cutting it requires HTML parsing and not just cutting by the number of symbols. Also, ideally, we should not count HTML tags which don't consume screen space but only alter the appearance of the text.

paskal avatar Sep 16 '23 14:09 paskal

Hi @paskal

Can you provide some more background on the issue.

HARDY8118 avatar Jan 31 '24 18:01 HARDY8118

@HARDY8118, what kind of details do you need? The issue is that messages are sometimes unnecessarily long and should be truncated, but it's tricky as they are HTML and not just text.

paskal avatar Feb 14 '24 17:02 paskal