Prior to this commit, our fallback HREF was using only the URL's domain (e.g. `guides.rubyonrails.org/routing.html`) instead of the provided URL (e.g. `https://guides.rubyonrails.org/routing.html`). This resulted in the link resolving to `<url-of-article>/guides.rubyonrails.org/routing.html`) With this commit, we're using the given URL for the HREF. An interesting side note, the Ruby on Rails guides includes an `og:title` but not an `og:url` so we hit the fallback condition. Could we use the given URL if `og:url` does not exist? Fixes forem/forem#17679 |
||
|---|---|---|
| .. | ||
| 300x100.svg | ||
| 800x600.jpg | ||
| 800x600.png | ||
| 800x600.webp | ||
| article_long_content.txt | ||
| article_published.txt | ||
| article_published_canonical_url.txt | ||
| article_published_cover_image.txt | ||
| article_published_empty_cover_image.txt | ||
| article_published_series.txt | ||
| article_unpublished.txt | ||
| article_with_runkit_tag.txt | ||
| article_with_runkit_tag_with_preamble.txt | ||
| guides.rubyonrails.org-routing.html | ||
| high_frame_count.gif | ||
| image_gps_data.jpg | ||
| large_profile_img.jpg | ||
| podcast.png | ||
| profile_fields.csv | ||