discourse/lib/onebox/engine
Chema Balsas d27d7c8cca FIX: Unescapes hash section with present to account for url-encoded chars
Sections with unreserverd characters will appear url-encoded and need to
be unescaped before using it.

Wikipedia generates 2 different spans in this case in the same page, one
with an id resulting of replacing the % symbols with . and the other with
the decoded version of the string. For example, for /wiki/foo#A%C3%A1A it
will generate:

<span id="A.C3.A1A"></span>
<span id="AáA">AáA</span>

Unescaping the `m_url_hash_name` should work in all cases to target the
proper section span.
2021-08-12 10:43:50 -04:00
..
allowlisted_generic_onebox.rb FIX: IMDb links were being oneboxed as posters (#13310) 2021-06-07 18:45:59 +05:30
amazon_onebox.rb FIX: return an empty result if response from Amazon is missing expected attributes (#13173) 2021-06-01 16:23:18 -04:00
animated_image_onebox.rb FIX: Giphy oneboxing when the response is an image (#13199) 2021-05-28 15:10:32 -04:00
asciinema_onebox.rb
audio_onebox.rb
audioboom_onebox.rb
band_camp_onebox.rb
cloud_app_onebox.rb
coub_onebox.rb
facebook_media_onebox.rb
five_hundred_px_onebox.rb
flickr_onebox.rb
flickr_shortened_onebox.rb
gfycat_onebox.rb
github_actions_onebox.rb Various GitHub Onebox improvements (#13163) 2021-05-27 12:38:42 +03:00
github_blob_onebox.rb
github_commit_onebox.rb
github_folder_onebox.rb Various GitHub Onebox improvements (#13163) 2021-05-27 12:38:42 +03:00
github_gist_onebox.rb
github_issue_onebox.rb FEATURE: Render emojis on GitHub labels when oneboxing an issue. (#13531) 2021-06-25 14:48:36 -03:00
github_pull_request_onebox.rb
gitlab_blob_onebox.rb
google_calendar_onebox.rb
google_docs_onebox.rb
google_drive_onebox.rb
google_maps_onebox.rb
google_photos_onebox.rb
google_play_app_onebox.rb
html.rb
image_onebox.rb FEATURE: Onebox can match engines based on the content_type (#13876) 2021-07-30 13:36:30 -04:00
imgur_onebox.rb
instagram_onebox.rb
json.rb
kaltura_onebox.rb
mixcloud_onebox.rb
opengraph_image.rb
pastebin_onebox.rb
pdf_onebox.rb
pubmed_onebox.rb
reddit_media_onebox.rb
replit_onebox.rb
simplecast_onebox.rb FIX: update iframe url for simplecast onebox (#13957) 2021-08-05 18:29:04 +05:30
sketch_fab_onebox.rb
slides_onebox.rb
sound_cloud_onebox.rb
stack_exchange_onebox.rb
standard_embed.rb
steam_store_onebox.rb
trello_onebox.rb
twitch_clips_onebox.rb
twitch_stream_onebox.rb
twitch_video_onebox.rb
twitter_status_onebox.rb FIX: Don’t use user_generated images as avatar images in Oneboxed Twitter content (#13712) 2021-07-13 14:54:28 -04:00
typeform_onebox.rb
video_onebox.rb
vimeo_onebox.rb
wikimedia_onebox.rb
wikipedia_onebox.rb FIX: Unescapes hash section with present to account for url-encoded chars 2021-08-12 10:43:50 -04:00
wistia_onebox.rb
xkcd_onebox.rb
youku_onebox.rb
youtube_onebox.rb SECURITY: Sanitize YouTube Onebox data (#13748) 2021-07-15 19:31:50 +01:00