EC-CUBE / EC-CUBE/category-content-plugin

カテゴリ説明などを保存するときのtwigタグの扱いについて

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
PHP
Stars
6
Forks
15
PR merge metrics
No merged PRs in 30d

Description

CategoryContent/Resource/template/default/category_content.twig
の記述指定ですが、
```


{{ PluginCategoryContent.content|raw }}

```
とrawだけの指定だと、
```

```
と管理画面から保存してもtwigタグがそのまま表示されてしまうため、
```

{{ include(template_from_string(PluginCategoryContent.content)) }}

```
と修正しtwigタグを利用できるようにする必要があります。

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.