Skip to content

Commit

Permalink
:bugs: 默认模板替换“元数据-简介”中的\r\n字符串
Browse files Browse the repository at this point in the history
  • Loading branch information
ormissia authored and zhaohongxuan committed Sep 8, 2024
1 parent 6ab1b6f commit c9706e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assets/notebookTemplate.njk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ lastReadDate: {{metaData.lastReadDate}}
> - ![ {{metaData.title}}|200]({{metaData.cover}})
> - 书名: {{metaData.title}}
> - 作者: {{metaData.author}}
> - 简介: {{metaData.intro}}
> - 简介: {% set intro = metaData.intro | replace("\n","") | replace("\r","") %}{{intro}}
> - 出版时间: {{metaData.publishTime}}
> - ISBN: {{metaData.isbn}}
> - 分类: {{metaData.category}}
Expand Down

0 comments on commit c9706e8

Please sign in to comment.