mirror of
https://github.com/Wanxp/obsidian-douban.git
synced 2026-04-04 16:48:44 +08:00
Merge pull request #134 from vran-dev/fix/redundant_space
Fix: remove leading and and trailing whitespace of person name
This commit is contained in:
commit
c866c8be4c
@ -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