The code for item mentions in the backend didn't parse internal links properly. Links like https://stacker.news/items/560297?commentId=561109 didn't use the comment id but the item id.
Item mentions should always use the id the frontend would show for the link when parsed.
Description
The code for item mentions in the backend didn't parse internal links properly. Links like
https://stacker.news/items/560297?commentId=561109
didn't use the comment id but the item id.Item mentions should always use the id the frontend would show for the link when parsed.
Additional Context
Going to test the code for item mentions more since there might be more wrong
Checklist
Are your changes backwards compatible? Please answer below:
Yes
Did you QA this? Could we deploy this straight to production? Please answer below:
For frontend changes: Tested on mobile? Please answer below:
Did you introduce any new environment variables? If so, call them out explicitly here: