canonical/snapcraft.io

Broken image in docs

Closed this issue · 2 comments

Steps to reproduce the problem

https://snapcraft.io/docs/installing-snap-on-manjaro-linux

image

If you click on the image name it opens a page with the image visible.

Expected behaviour

Image should appear in the docs.

Specs

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/WD-7920.

This message was autogenerated

TL:DR Culprit seems to be canonicalwebteam.discourse


Hello @bartaz , sorry for barging in, but this seems related to this issue I was investigating on ubuntu website repo (also this one)

After some investigation, it seems that the problem is related to these lines here at canonicalwebteam.discourse, as it is parsing the img tags that are coming via CMS wrongly, resulting in a broken link to the image:

https://forum.snapcraft.io//forum-snapcraft-io.s3.dualstack.us-east-1.amazonaws.com (...)

// actually should be

https://forum-snapcraft-io.s3.dualstack.us-east-1.amazonaws.com`

From my side I hit a wall, as this project is internal only, and I can't open a PR, so Im leaving this comment to try to at least give visibility to this probable error

Screenshots to be more precise:

Broken src

image

Fixed src

image