You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Open No Code Span at a Backtick Inside an HTML Comment or Autolink in pr_review.py #3235
CODE_SPAN in scripts/pr_review.py opens a code span at any backtick run. In GFM, an HTML comment or an autolink that starts first keeps a backtick inside it literal, so that backtick opens nothing.
Constructed case:
<!-- a ` b --> <b>Open (2)</b> `x`
GFM renders <b>Open (2)</b> as live bold. mask_quotations pairs the comment's backtick with the one before x, so the <b> reads as quoted. Since #3215, unwrap then prints the tag raw. An autolink holding a backtick, <https://e.example/a>`, behaves the same way.
The same over-match has always shaped unwrap's TAGS drop and every vetting reader, since they all mask through CODE_SPAN. #3215 only routed emphasis and badges through it as well.
Expected
A backtick inside an HTML comment or autolink that opened earlier on the line opens no span, with the constructed case pinned by a test. No reviewer body has been seen carrying this shape, so it ranks below #3227.
Activity
Read Inline HTML After an Even Backslash Run, and Name Every Tail Reader
Read Code Spans, Inline HTML, and Autolinks Left to Right in pr_revie…