Improves function that gets text from a node's children.
Paragraphs are now respected when a node with a child node whose text is split into paragraphs is encountered. Example of such a node: <tag> Paragraph 1. Still paragraph 1. Paragraph 2. </tag> Also, adds additional tests. Bug: 993948 Change-Id: I07c257e52a33026f5607946aa36b5e9ee5480056 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1754124 Commit-Queue: Alexei Svitkine <asvitkine@chromium.org> Reviewed-by:Alexei Svitkine <asvitkine@chromium.org> Cr-Commit-Position: refs/heads/master@{#687404}
Showing
This diff is collapsed.
Please register or sign in to comment