mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-02-06 18:00:29 +00:00
This is for preventing that a markdown button is recognized as button for submission in a html form. Buttons can't be stripped from the markdown due to: https://codeberg.org/forgejo/forgejo/pulls/7670#issuecomment-4086608 There is no issue with buttons if they always have `type="button"`, so this should be fine. This is a "follow-up" to !7670. Fixes #7656 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10520 Reviewed-by: Otto <otto@codeberg.org> Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: Beowulf <beowulf@beocode.eu> Co-committed-by: Beowulf <beowulf@beocode.eu> |
||
|---|---|---|
| .. | ||
| callout | ||
| math | ||
| util | ||
| ast.go | ||
| color_util.go | ||
| color_util_test.go | ||
| convertyaml.go | ||
| goldmark.go | ||
| markdown.go | ||
| markdown_test.go | ||
| meta.go | ||
| meta_test.go | ||
| prefixed_id.go | ||
| renderconfig.go | ||
| renderconfig_test.go | ||
| toc.go | ||
| transform_codespan.go | ||
| transform_heading.go | ||
| transform_html.go | ||
| transform_image.go | ||
| transform_link.go | ||
| transform_list.go | ||