Linux Mint
My Places
Sign in
Community
Software
Users
Moderation
Beta Testing
ISO Images
Teams
ruby-truncato
tool for truncating HTML strings efficiently
https://github.com/jorgemanrubia/truncato
0
no reviews
Install
Ruby tool for truncating HTML strings keeping a valid HTML markup.
Its main motivation was that existing libs couldn't truncate a multiple-MB document into a few-KB one in a reasonable time. It uses the Nokogiri SAX parser.