~sircmpwn/todo.sr.ht#277: 
Strings such as #123 should not be treated as a ticket reference inside a <pre>

The following code block:

<a href="/~sircmpwn/todo.sr.ht/123" title="~sircmpwn/todo.sr.ht#123: Distinguish comment and information columns ">#123</a>

should read (with an actual pound sign):

♯123

but is erroneously expanded to a ticket reference. Presumably the solution is to not perform this expansion inside <pre> tags. There might also be other scenarios where the expansion should not be performed.

Reported by a user trying to post a core dump here: https://lists.sr.ht/~sircmpwn/sr.ht-discuss/%3Cdb8f845c-fb72-341d-a275-955935d323fa%40mailbox.org%3E

Status
REPORTED
Submitter
~vladh
Assigned to
No-one
Submitted
2 years ago
Updated
2 years ago
Labels
No labels applied.

~anteater 2 years ago

I believe this is a duplicate of #219 (unless the distinction is <pre> vs ```). In any case the misbehavior is the same.

Register here or Log in to comment, or comment via email.