gotosocial/internal/text
nicole mikołajczyk 54a0af34fb [feature] enable footnote extension for markdown parser (#4251)
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>

# Description

This enables footnote support which is mentioned as allowed in the [user guide](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/docs/user_guide/posts.md#input-types). The regression was reported on Matrix.

## Checklist

Please put an x inside each checkbox to indicate that you've read and followed it: `[ ]` -> `[x]`

If this is a documentation change, only the first checkbox must be filled (you can delete the others if you want).

- [x] I/we have read the [GoToSocial contribution guidelines](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md).
- [sort of] I/we have discussed the proposed changes already, either in an issue on the repository, or in the Matrix chat.
- [x] I/we have not leveraged AI to create the proposed changes.
- [x] I/we have performed a self-review of added code.
- [x] I/we have written code that is legible and maintainable by others.
- [ ] I/we have commented the added code, particularly in hard-to-understand areas.
- [ ] I/we have made any necessary changes to documentation.
- [x] I/we have added tests that cover new code.
- [x] I/we have run tests and they pass locally with the changes.
- [x] I/we have run `go fmt ./...` and `golangci-lint run`.

Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4251
Co-authored-by: nicole mikołajczyk <git@mkljczk.pl>
Co-committed-by: nicole mikołajczyk <git@mkljczk.pl>
2025-06-09 16:00:25 +02:00
..
emojify.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
formatter.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
formatter_test.go [chore] Upgrade to Go 1.24 (#4187) 2025-05-22 12:26:11 +02:00
goldmark_custom_renderer.go [bugfix] Fix no notification if mention edited into status (#4102) 2025-05-04 09:45:10 +00:00
goldmark_parsers.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
goldmark_plaintext.go [chore/bugfix] Deinterface text.Formatter, allow underscores in hashtags (#2233) 2023-09-29 10:39:56 +02:00
markdown.go [feature] enable footnote extension for markdown parser (#4251) 2025-06-09 16:00:25 +02:00
markdown_test.go [feature] enable footnote extension for markdown parser (#4251) 2025-06-09 16:00:25 +02:00
minify.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
normalize.go [bugfix] Extend parser to handle more non-Latin hashtags (#3700) 2025-01-31 11:42:55 +01:00
plain.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
plain_test.go [chore] Rewrite all remaining Github links 2025-04-27 13:40:22 +02:00
sanitize.go [feature] Parse content warning to HTML, serialize via client API as plaintext (#3876) 2025-03-07 14:04:34 +00:00
sanitize_test.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
substring.go [feature] Push notifications (#3587) 2025-01-23 16:47:30 -08:00
substring_test.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
util.go [bugfix] Extend parser to handle more non-Latin hashtags (#3700) 2025-01-31 11:42:55 +01:00