Skip to content

Commit dbc125e

Browse files
committed
trim account name before use in URI
1 parent b417e88 commit dbc125e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SocialPresenter.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export function presentSocial(
6767
for (const k of classes) {
6868
const userProfilePrefix: Node | null = store.any(k as any, ns.foaf('userProfilePrefix'))
6969
if (userProfilePrefix) {
70-
return userProfilePrefix.value + id ;
70+
return userProfilePrefix.value + id.trim() ;
7171
}
7272
}
7373
return "no userProfilePrefix?"

0 commit comments

Comments
 (0)