Broken image in docs
Closed this issue · 2 comments
Steps to reproduce the problem
https://snapcraft.io/docs/installing-snap-on-manjaro-linux
![image](https://private-user-images.githubusercontent.com/83575/288992171-86812be8-c663-44e0-81f0-002e7885460f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2NjQyOTYsIm5iZiI6MTcyNDY2Mzk5NiwicGF0aCI6Ii84MzU3NS8yODg5OTIxNzEtODY4MTJiZTgtYzY2My00NGUwLTgxZjAtMDAyZTc4ODU0NjBmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI2VDA5MTk1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWViOTJlODJjM2M5MGExNzQwOWVkMGQ2MTg4OTk4MjI0ZmU3ZDM3MzM2OTkxM2JkNzViMjA0MWFhNzY4ZGE5M2ImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.qAwO57FoYQVxgk08OdyNVkB4_8n307gQuppmoo75Q-I)
If you click on the image name it opens a page with the image visible.
Expected behaviour
Image should appear in the docs.
Specs
- URL: https://snapcraft.io/docs/installing-snap-on-manjaro-linux
- Operating system: macOS
- Browser: Chrome
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](https://private-user-images.githubusercontent.com/16295402/294795458-de576edb-70e7-4855-974d-66bca713c218.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2NjQyOTYsIm5iZiI6MTcyNDY2Mzk5NiwicGF0aCI6Ii8xNjI5NTQwMi8yOTQ3OTU0NTgtZGU1NzZlZGItNzBlNy00ODU1LTk3NGQtNjZiY2E3MTNjMjE4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI2VDA5MTk1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJlZGVhNmM3NmMyYzAwNzYwYTQ5ZWUxNjAyYjY0MTZjNzk5MjlkNjU0ODU1YTRkMzFjZTRhNDQzMzZkNjdkMjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.bznBr6pM6OSpFzNuahY2GCZIpejLcq1JFvB-JROMHx4)
Fixed src
![image](https://private-user-images.githubusercontent.com/16295402/294795472-3df24211-4e21-4680-862a-28bc200ce40e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2NjQyOTYsIm5iZiI6MTcyNDY2Mzk5NiwicGF0aCI6Ii8xNjI5NTQwMi8yOTQ3OTU0NzItM2RmMjQyMTEtNGUyMS00NjgwLTg2MmEtMjhiYzIwMGNlNDBlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI2VDA5MTk1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc2OGE0NmU1NTczNWVlOTljNWU4YmI1MjljNjU4M2I1NWRiMjRkMjA2YzZhYWIwMGQ1MjA4ZTdjMTEzNTFiY2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.R1Bo-_OcUOcbKgD9GZ92OAtHeUef60ptrVmg1RJQRnU)