Gitea: Readme.md do not display relative path image

Created on 27 Aug 2019  路  4Comments  路  Source: go-gitea/gitea

  • Gitea version (or commit ref): 1.10.0+dev-201-gca6fb004a
  • Git version: git version 2.23.0.windows.1
  • Operating system: Windows 10 Pro Workstation 1903
  • Database (use [x]):

    • [x] PostgreSQL

  • Can you reproduce the bug at https://try.gitea.io:
  • Log gist:

Description

make a migration from a github repo as a mirror, and found a image missing error.

Screenshots


image

image

kinbug stale

All 4 comments

@gary-kim you are right

this problem may not caused by relative path


my fault, it's network problem

Update on 2019/08/30, the Awesom Python image load well.

image


Can you reproduce the bug at https://try.gitea.io:
Yes (provide example URL) README.md

image
image

The Awesome Python image seems to be loading fine on my system. Could you check your browser console?

It's because they are using raw HTML and not markdown for the image.
Gitea does not currently have code to support fudging raw HTML images that I am aware of.

For example, here is my fork of your repo where I put the image in markdown instead of raw HTML.
https://try.gitea.io/jolheiser/learn-regex/src/branch/master/README.md

When I look on their GitHub repo, I can see that GH has changed the URL when displaying it in order for it to work.
rel_image


In regards to the awesome python image, that loads fine for me as well.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lunny picture lunny  路  3Comments

BRMateus2 picture BRMateus2  路  3Comments

jonasfranz picture jonasfranz  路  3Comments

kolargol picture kolargol  路  3Comments

flozz picture flozz  路  3Comments