PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2012-11-22 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 379 All time: 6,335 This week: 1,065Up
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: 33
All time rank: 3353228 in India India
Week rank: 1399 Up101 in India India Up
Innovation award
Innovation award
Nominee: 1x

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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:379
This week:0
All time:6,335
This week:1,065Up