+2
-2
crates/jacquard/src/richtext.rs
+2
-2
crates/jacquard/src/richtext.rs
···
67
67
/// Default domains that support at-URI extraction from URLs
68
68
/// (bsky.app URL patterns like /profile/{actor}/post/{rkey})
69
69
#[cfg(feature = "api_bluesky")]
70
-
static DEFAULT_EMBED_DOMAINS: &[&str] = &[
70
+
pub static DEFAULT_EMBED_DOMAINS: &[&str] = &[
71
71
"bsky.app",
72
72
"deer.social",
73
73
"blacksky.community",
···
656
656
///
657
657
/// Only works for domains in the provided `embed_domains` list.
658
658
#[cfg(feature = "api_bluesky")]
659
-
fn extract_at_uri_from_url(url: &str, embed_domains: &[&str]) -> Option<AtUri<'static>> {
659
+
pub fn extract_at_uri_from_url(url: &str, embed_domains: &[&str]) -> Option<AtUri<'static>> {
660
660
// Parse URL
661
661
let url_parsed = url::Url::parse(url).ok()?;
662
662