-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Refactor markup render to fix various path problems #34114
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
af68665
to
7501ee5
Compare
ec1a7d3
to
986b6cf
Compare
lunny
approved these changes
Apr 3, 2025
This was referenced Apr 4, 2025
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
I updated the description to this
ps: this link is only a demo, I don't know the real path in your repo. If the file path is |
hiifong
approved these changes
Apr 4, 2025
This was referenced Apr 4, 2025
zjjhot
added a commit
to zjjhot/gitea
that referenced
this pull request
Apr 8, 2025
* giteaofficial/main: [skip ci] Updated translations via Crowdin docs: add Chinese translations for README files (go-gitea#34132) Keep file tree view icons consistent with icon theme (go-gitea#33921) Make markdown render match GitHub's behavior (go-gitea#34129) Remove dead code: RepoRef (go-gitea#34131) Correctly handle submodule view and avoid throwing 500 error (go-gitea#34121) Use `overflow-wrap: anywhere` to replace `word-break: break-all` (go-gitea#34126) Fix markdown render behaviors (go-gitea#34122) Refactor dropdown ellipsis (go-gitea#34123) Avoid creating unnecessary temporary cat file sub process (go-gitea#33942) Fix discord webhook 400 status code when description limit is exceeded (go-gitea#34084) Refactor markup render to fix various path problems (go-gitea#34114) [skip ci] Updated translations via Crowdin Fix invalid version in RPM package path (go-gitea#34112) also check default ssh-cert location for host (go-gitea#34099) (go-gitea#34100) Fix markdown frontmatter rendering (go-gitea#34102) Get changed files based on merge base when checking `pull_request` actions trigger (go-gitea#34106) Add `last_committer_date` and `last_author_date` for file contents API (go-gitea#32921)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
lgtm/done
This PR has enough approvals to get merged. There are no important open reservations anymore.
modifies/api
This PR adds API routes or modifies them
modifies/go
Pull requests that update Go code
type/refactoring
Existing code has been cleaned up. There should be no new functionality.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
/:root/path-relative-to-root
, then the path will be rendered as relative to "ROOT_URL"