diff options
author | Erik Johnston <erik@matrix.org> | 2016-08-02 18:25:53 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-08-02 18:25:53 +0100 |
commit | aecaec3e104fc8aebb4f2e3e9ce29bb7dee4dc0c (patch) | |
tree | d3454fd6fb36b1506c267e6e62081e7ad8c38332 /synapse/storage | |
parent | Merge pull request #971 from matrix-org/erikj/fed_state (diff) | |
download | synapse-aecaec3e104fc8aebb4f2e3e9ce29bb7dee4dc0c.tar.xz |
Change the way we summarize URLs
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.
Diffstat (limited to 'synapse/storage')
0 files changed, 0 insertions, 0 deletions