Make profile biographies be unicode normalized
This commit is contained in:
1 parent
8784ac7d9b
commit
fb14c2699e
1 file changed
+1
-1
@@ -901,7 +901,7 @@ class Profile:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def biography(self) -> str:
|
def biography(self) -> str:
|
||||||
return self._metadata('biography')
|
return normalize("NFC", self._metadata('biography'))
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def blocked_by_viewer(self) -> bool:
|
def blocked_by_viewer(self) -> bool:
|
||||||
|
|||||||
Reference in new issue
Block a user