mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-03-06 14:05:59 -05:00

Using XPath is slow on some machines (for unknown reasons), so use a different approach to get a list of text nodes. Try to generate a summary that respect paragraph and then word boundaries, adding ellipses when appropriate.