docbrown/app
Jeremy Friesen 0c6b6b9e62
Ensuring that embed fallback renders URL (#17680)
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
2022-05-17 07:43:17 -04:00
..
assets Make Follow Buttons in User, Org and Tag Embeds "secondary" (#17602) 2022-05-10 16:37:39 -04:00
controllers Revert "Bump ddtrace from 0.54.2 to 1.0.0 (#17560)" (#17643) 2022-05-12 09:28:50 -04:00
decorators Profile attribute names should be unique and non-empty (#16396) 2022-04-04 12:14:02 -05:00
errors Favoring re-use of authorization error (#16992) 2022-03-24 08:16:28 -04:00
forms Using a Form Object that will persist for the Creator Settings Form (#15684) 2021-12-10 17:07:40 +02:00
helpers Fix styling on Follow Button in User Info Panel (post view) (#17642) 2022-05-12 08:03:41 -04:00
javascript Moving from user.trusted tests to policy tests (#17619) 2022-05-11 08:18:13 -04:00
lib restore i18n lib.constants.settings.campaign.url (#17637) 2022-05-11 16:02:52 +01:00
liquid_tags Ensuring that embed fallback renders URL (#17680) 2022-05-17 07:43:17 -04:00
mailers "Reply to" and "From" Email addresses for SMTP Configurations (#16499) 2022-02-16 16:14:54 +02:00
models Adding page view goal for experiments (#17696) 2022-05-16 15:07:42 -04:00
policies Moving from user.trusted tests to policy tests (#17619) 2022-05-11 08:18:13 -04:00
queries Remove Community Wellness badge feature flag (#17623) 2022-05-11 12:08:40 -06:00
refinements
sanitizers Don't sanitize anchor elements with no href (#16667) 2022-02-22 11:27:38 -06:00
serializers Remove unused methods from User (#16616) 2022-02-18 09:02:17 +07:00
services Ensuring that embed fallback renders URL (#17680) 2022-05-17 07:43:17 -04:00
uploaders small non-views ruby i18n (#16004) 2022-01-11 10:05:18 +07:00
validators Remove the "Getting Started" Section from the Config (#16033) 2022-01-20 07:31:35 -07:00
view_objects Patching ERB rendering of the data-info JSON (#16067) 2022-01-14 08:30:49 -05:00
views Ensuring that embed fallback renders URL (#17680) 2022-05-17 07:43:17 -04:00
workers feat: add an inflection and change instances of gdpr to GDPR (#17567) 2022-05-04 16:20:46 +02:00