mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 09:43:25 +08:00

When truncating content we try to search for first paragraph, if HTML had no P it would fallback to first div which may have nested elements.