apapsch/twig-extensions
Composer 安装命令:
composer require apapsch/twig-extensions
包简介
Common additional features for Twig that do not directly belong in core
README 文档
README
This repository hosts Twig Extensions that do not belong to the core but can be nonetheless interesting to share with other developers.
Fork this repository, add your extension, and request a pull.
More Information
Read the documentation for more information.
Changes from upstream
This is a long term fork from twigphp/Twig-extensions, because some change that is important to me won't be merged.
- Twig_Extensions_Node_Trans: Replaces consecutive whitespace and line breaks with a single space. This is similar to the default HTML text node behavior and allows you to have normal text as translation messages, which may span multiple lines. This change was not merged upstream, because it may break existing translation messages. It's useful if you are accustomed to gettext style translation messages and want to have HTML text node behavior.
统计信息
- 总下载量: 2.38k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-06-28