annotate .hgtags @ 33:9e4eb3f2754e

Improve handling of character limits in html stripping The code now more closely keeps track of character counts during html stripping, and should be absolutely exact. When the limit is exceeded, it now restarts the stripping without any URLs to prevent incorrect trimming. It also better preserves whitespace in the original post. New tests are added for Twitter silo to ensure it works as expected.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 10 May 2023 16:10:12 -0700
parents 025e6a5bb5a3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
4796b0d39681 Added tag 0.1.0 for changeset 76c7ad729006
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
1 76c7ad7290062c97f0072d16c8e3e9e72e271aee 0.1.0
16
025e6a5bb5a3 Added tag 0.2.0 for changeset cb1dc5c864d8
Ludovic Chabant <ludovic@chabant.com>
parents: 13
diff changeset
2 cb1dc5c864d8e57dd95c5c111bc3674aa5602a1e 0.2.0