madebykind/craft.windontextension 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱: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
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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