Make profile biographies be unicode normalized
This commit is contained in:
parent
8784ac7d9b
commit
fb14c2699e
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user