Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix generated source URL on rendered files #26364

Merged
merged 4 commits into from
Aug 8, 2023

Commits on Aug 7, 2023

  1. fix generated source URL on rendered files

    - The permalink and 'Reference in New issue' URL of an renderable
    file (those where you can see the source and a rendered version of it,
    such as markdown) doesn't contain `?display=source`. This leads the
    issue that the URL doesn't have any effect, as by default the rendered
    version is shown and thus not the source.
    - Add `?display=source` to the permalink URL and to 'Reference in New Issue' if it's renderable file.
    - Add integration testing.
    
    Refs: https://codeberg.org/forgejo/forgejo/pulls/1088
    Gusted authored and earl-warren committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    51699e8 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2023

  1. Configuration menu
    Copy the full SHA
    ed839e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f8d368d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    edbff7f View commit details
    Browse the repository at this point in the history