tangled
alpha
login
or
join now
jordanreger.com
/
htmlsky
0
fork
atom
An HTML-only Bluesky frontend
0
fork
atom
overview
issues
pulls
pipelines
fix wbr issue
jordanreger.com
2 years ago
f6087d9d
758fb22d
+5
-3
1 changed file
expand all
collapse all
unified
split
pages
actor
index.tsx
+5
-3
pages/actor/index.tsx
···
38
<span
39
dangerouslySetInnerHTML={{
40
__html: actor.displayName
41
-
? actor.displayName.replaceAll(" ", " <wbr>")!.match(
42
-
/.{1,7}/g,
43
-
)!.join("<wbr>")
0
0
44
: actor.handle.replaceAll(".", ".<wbr>"),
45
}}
46
>
···
38
<span
39
dangerouslySetInnerHTML={{
40
__html: actor.displayName
41
+
? (actor.displayName.includes(" ")
42
+
? actor.displayName.replaceAll(" ", " <wbr>")
43
+
: actor.displayName.match(
44
+
/.{1,7}/g,
45
+
)!.join("<wbr>"))
46
: actor.handle.replaceAll(".", ".<wbr>"),
47
}}
48
>