chibenwa commented on code in PR #2583:
URL: https://github.com/apache/james-project/pull/2583#discussion_r1922118159


##########
mailbox/opensearch/src/main/java/org/apache/james/mailbox/opensearch/json/IndexableMessage.java:
##########
@@ -135,8 +135,8 @@ private Mono<IndexableMessage> instantiateIndexedMessage() 
throws IOException, M
                 .asMimePart(textExtractor)
                 .map(parsingResult -> {
 
-                    Optional<String> bodyText = 
parsingResult.locateFirstTextBody();
-                    Optional<String> bodyHtml = 
parsingResult.locateFirstHtmlBody();
+                    Optional<String> bodyText = 
parsingResult.locateFirstTextBody().map(SearchUtil::removeGreaterThanCharacters);
+                    Optional<String> bodyHtml = 
parsingResult.locateFirstHtmlBody().map(SearchUtil::removeGreaterThanCharacters);

Review Comment:
   Do this make sense on the HTML body which uses `<quote>previous 
message</quote>` ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org
For additional commands, e-mail: notifications-h...@james.apache.org

Reply via email to