Skip to content

自定义模板变量解析规则问题 #123

@zjhch123

Description

@zjhch123

描述问题

自定义皮肤开发时遇到了需要通过自定义模板变量配置皮肤头图的需求

在实现时发现如果在同一个自定义模板变量中存在多个=时解析结果似乎不符合预期。

Example

headerBgImage=https://static.b3log.org/images/brand/solo-32.png?id=1

image

image

期待的结果

对于 headerBgImage=https://static.b3log.org/images/brand/solo-32.png?id=1customVars['headerBgImage']应该返回https://static.b3log.org/images/brand/solo-32.png?id=1

其他信息

Solo 版本为 4.0

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions