Files
gitocean/modules
GustedandGusted fad28141fa fix: render link in heading correctly in TOC (#6853)
- When you use a link in a heading such as `# [Text](link)` (instead of the conventional `# Text`) the TOC should only show `Text` and not `[Text](link)`.
- Use the `mdutil.Text` to only get the text from actual text nodes and not the text that was provided in the markdown input.
- Regression of e2fddcf681
- Resolves forgejo/forgejo#6847
- Added integration test.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6853
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-02-08 13:34:09 +00:00
..
2024-12-18 06:40:02 +01:00
2024-11-15 10:59:36 +01:00
2024-12-30 17:47:34 +01:00
2025-01-31 16:22:29 +01:00
2024-08-18 15:19:01 +02:00
2025-01-31 16:22:29 +01:00
2024-08-12 19:11:09 +02:00
2024-12-25 00:10:18 +01:00
2025-02-02 12:01:58 +01:00
2023-02-11 08:39:50 +08:00
2023-12-25 20:13:18 +08:00
2024-09-01 05:42:34 +02:00
2025-01-31 16:22:29 +01:00
2024-07-17 23:07:41 +02:00
2025-01-31 14:40:27 +01:00
2024-08-26 23:43:09 +02:00