apache / lucene-jira-archive

Jira archive for Apache Lucene
https://lucene.apache.org/
2 stars 6 forks source link

Escape '>' to avoid wrong quotes in markdown #146

Closed mocobeta closed 2 years ago

mocobeta commented 2 years ago

93

> should be escaped 1) if it appears at the start of the line, and also 2) is not a part of any expression grammar. It's possible to do such selective escape by tweaking the syntax parser a bit.

e.g., https://github.com/mocobeta/forks-migration-test/issues/2321#issuecomment-1197365531 Screenshot from 2022-08-13 13-09-09

should be https://github.com/mocobeta/migration-test-3/issues/598#issuecomment-1213646156 Screenshot from 2022-08-13 13-09-59

Note that this is applied only to plain texts without markups so that it does not affect on code blocks like this: https://github.com/mocobeta/migration-test-3/issues/601.