承接 madebykind/craft.windontextension 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

madebykind/craft.windontextension

最新稳定版本:1.0.1

Composer 安装命令:

composer require madebykind/craft.windontextension

包简介

Provides a `widont` filter in your Craft CMS templates

README 文档

README

Provides a widont filter in your Craft templates.

Installation

Drop the windontextension directory into craft/plugins, and install from the CP.

Usage

{{ entry.title | widont | raw }}

Caveat developer

Craft runs Twig with autoescape on, so as the widont filter replaces the last not trailing space in the filtered string with an HTML entity for a non-breaking space, so you will probably then want to pass its output to the raw filter.

This is a bad idea for untrusted input.

统计信息

  • 总下载量: 35
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-06-02