libhtml-truncate-perl 0.20-2 source package in Ubuntu
Changelog
libhtml-truncate-perl (0.20-2) unstable; urgency=medium * Team upload. [ Salvatore Bonaccorso ] * debian/control: Use HTTPS transport protocol for Vcs-Git URI [ gregor herrmann ] * debian/copyright: change Copyright-Format 1.0 URL to HTTPS. [ Niko Tyni ] * Prevent autopkgtest checks from recursing under t/ * Update to debhelper compatibility level 10 -- Niko Tyni <email address hidden> Tue, 01 Aug 2017 10:58:53 +0300
Upload details
- Uploaded by:
- Debian Perl Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Jammy | release | universe | misc | |
Focal | release | universe | misc | |
Bionic | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libhtml-truncate-perl_0.20-2.dsc | 2.1 KiB | fa675fd75d9ad72a9b14babf57444e2ab85d49a56bf54e041deefc582df438b7 |
libhtml-truncate-perl_0.20.orig.tar.gz | 35.6 KiB | db5dd82b1a371a9df0e16bc8cdcaf28c44c9f5ab01ead0f9cdeed60291d3e8c5 |
libhtml-truncate-perl_0.20-2.debian.tar.xz | 2.4 KiB | 9d1b240cefa6e2138cc625af8bd448d8ffc238c1e37661374bb518d36cfee73e |
Available diffs
- diff from 0.20-1 to 0.20-2 (952 bytes)
No changes file available.
Binary packages built by this source
- libhtml-truncate-perl: Perl module to truncate HTML by percentage or character count
When working with text it is common to want to truncate strings to make them
fit a desired context. E.g., you might have a menu that is only 100px wide and
prefer text doesn't wrap so you'd truncate it around 15-30 characters,
depending on preference and typeface size. This is trivial with plain text
using substr but with HTML it is somewhat difficult because whitespace has
fluid significance and open tags that are not properly closed destroy
well-formedness and can wreck an entire layout.
.
HTML::Truncate attempts to account for those two problems by padding truncation
for spacing and entities and closing any tags that remain open at the point of
truncation.