diff options
author | reivilibre <oliverw@matrix.org> | 2022-06-28 14:29:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-28 14:29:08 +0100 |
commit | fa1308061802ac7b7d20e954ba7372c5ac292333 (patch) | |
tree | d58c5ead13e8c45418c375fbbf0e31a7d818e866 /docs/templates.md | |
parent | Fix incorrect link in changelog. (diff) | |
download | synapse-fa1308061802ac7b7d20e954ba7372c5ac292333.tar.xz |
Merge pull request from GHSA-22p3-qrh9-cx32
* Make _iterate_over_text easier to read by using simple data structures * Prefer a set of tags to ignore In my tests, it's 4x faster to check for containment in a set of this size * Add a stack size limit to _iterate_over_text * Continue accepting the case where there is no body element * Use an early return instead for None Co-authored-by: Richard van der Hoff <richard@matrix.org>
Diffstat (limited to 'docs/templates.md')
0 files changed, 0 insertions, 0 deletions