mirror of
https://github.com/Wanxp/obsidian-douban.git
synced 2026-04-04 08:38:41 +08:00
fix: remove leading and and trailing whitespace of person name
This commit is contained in:
parent
eeedf23e7c
commit
132e47f2b2
@ -207,7 +207,7 @@ export default abstract class DoubanAbstractLoadHandler<T extends DoubanSubject>
|
||||
default:
|
||||
resultName = name;
|
||||
}
|
||||
return resultName;
|
||||
return resultName.trim();
|
||||
}
|
||||
|
||||
getTitleNameByMode(name: string, personNameMode: string, context: HandleContext): string {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user