discourse/spec/services
Dan Ungureanu 2d51833ca9
FIX: Make Oneboxer#apply insert block Oneboxes correctly (#11449)
It used to insert block Oneboxes inside paragraphs which resulted in
invalid HTML. This needed an additional parsing for removal of empty
paragraphs and the resulting HTML could still be invalid.

This commit ensure that block Oneboxes are inserted correctly, by
splitting the paragraph containing the link and putting the block
between the two. Paragraphs left with nothing but whitespaces will
be removed.

Follow up to 7f3a30d79f.
2020-12-14 17:49:37 +02:00
..
anonymous_shadow_creator_spec.rb FIX: use allowlist and blocklist terminology (#10209) 2020-07-27 10:23:54 +10:00
auto_silence_spec.rb
badge_granter_spec.rb FIX: Don't skip the new user badge (#10743) 2020-09-24 12:58:31 -05:00
color_scheme_revisor_spec.rb FEATURE: User selectable color schemes (#10544) 2020-08-28 10:36:52 -04:00
destroy_task_spec.rb
email_style_updater_spec.rb
flag_sockpuppets_spec.rb FIX: use allowlist and blocklist terminology (#10209) 2020-07-27 10:23:54 +10:00
group_action_logger_spec.rb
group_mentions_updater_spec.rb
group_message_spec.rb
heat_settings_updater_spec.rb
inline_uploads_spec.rb DEV: Clean up S3 specs, stubs, and helpers 2020-09-28 12:02:25 +01:00
notification_emailer_spec.rb Update rubocop to 2.3.1. 2020-07-24 17:19:21 +08:00
post_action_notifier_spec.rb DEV: Leaking state in `PostActionNotifier` in tests take 2. 2020-08-31 12:55:42 +08:00
post_alerter_spec.rb DEV: Cleanup ignored user logic (#11107) 2020-11-03 12:38:54 +00:00
post_owner_changer_spec.rb FIX: Unlike own posts on ownership transfer (#10446) 2020-08-19 09:21:02 -06:00
push_notification_pusher_spec.rb
random_topic_selector_spec.rb
search_indexer_spec.rb PERF: avoid lookbehinds when indexing search (#10862) 2020-10-08 11:40:13 +11:00
site_settings_spec.rb Simplify theme and color scheme seeding (#10872) 2020-10-14 10:18:02 -04:00
staff_action_logger_spec.rb FEATURE: Implement edit functionality for post notices (#11140) 2020-11-11 14:49:53 +02:00
themes_spec.rb FIX: Handle .discourse-compatibility syntax errors (#10891) 2020-10-12 18:25:06 +02:00
topic_status_updater_spec.rb
topic_timestamp_changer_spec.rb
trust_level_granter_spec.rb
user_activator_spec.rb Update rubocop to 2.3.1. 2020-07-24 17:19:21 +08:00
user_anonymizer_spec.rb DEV: Migrate Github authentication to ManagedAuthenticator (#11170) 2020-11-10 10:09:15 +00:00
user_authenticator_spec.rb DEV: Migrate Github authentication to ManagedAuthenticator (#11170) 2020-11-10 10:09:15 +00:00
user_destroyer_spec.rb FIX: Avoid validation error when deleting users with locked trust level 2020-07-27 17:40:10 +01:00
user_merger_spec.rb DEV: Migrate Github authentication to ManagedAuthenticator (#11170) 2020-11-10 10:09:15 +00:00
user_silencer_spec.rb DEV: remove stubs from silencer spec 2020-09-14 11:48:48 +10:00
user_updater_spec.rb DEV: Cleanup ignored user logic (#11107) 2020-11-03 12:38:54 +00:00
username_changer_spec.rb FIX: Make Oneboxer#apply insert block Oneboxes correctly (#11449) 2020-12-14 17:49:37 +02:00
username_checker_service_spec.rb
wildcard_domain_checker_spec.rb
wildcard_url_checker_spec.rb
word_watcher_spec.rb