You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2022/06/30 14:48:38 UTC

[GitHub] [lucene-jira-archive] mocobeta commented on issue #1: Fix markup conversion error

mocobeta commented on issue #1:
URL: https://github.com/apache/lucene-jira-archive/issues/1#issuecomment-1171316604

   Looks like the converter library does not support Carriage Return `\r` and succeeding spaces after Line Feed `\n` and that causes the conversion errors. This quick fix in pre-processing may solve many conversion errors.
   ```
   text = re.sub(r"\r\n\s*", "\n", text)
   ```


-- 
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: issues-unsubscribe@lucene.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org