
Previous comment logic relied on the assumption that any element in a comment with textContent would be childless, which is false. Now, the method is to fetch all comments within the selection and recursively extract their text content. Bug: Issue 5144 Change-Id: I22eac0b9b147fe0f3360d87529661efadb15940a