PHP Classes

WBR TAG Insertion like Gmail: Break long HTML text strings with the <wbr> tag

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 386 All time: 6,693 This week: 73Up
Version License PHP version Categories
wbr-insertion 0.1GNU Free Document...5.0HTML, PHP 5, Text processing
Description 

Author

This package is specific mainly for applications used in India India .

This class can break long HTML text strings with the <wbr> tag.

In can parse a HTML string with text and insert <wbr> tags in text strings that exceed 30 characters of length without white space or after punctuation characters like . , ; .

Innovation Award
PHP Programming Innovation award nominee
December 2012
Number 5


Prize: One copy of RadPHP XE2
The <wbr> tag was introduced in HTML 5 to hint browsers where it is OK to break long paragraphs of text that need to broken in multiple lines to be better displayed.

This class can analyze a HTML text and insert <wbr> tags after it exceeds a given length of characters.

Manuel Lemos
Picture of Anuj Verma
Name: Anuj Verma <contact>
Classes: 1 package by
Country: India India
Age: 42
All time rank: 3593239 in India India
Week rank: 180 Up21 in India India Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (1)  
File Role Description
Plain text file wbrtest.php Class insert wbr tag automatically like gmail

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:386
This week:0
All time:6,693
This week:73Up