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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 382 All time: 6,643 This week: 777Up
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: 39
All time rank: 3542240 in India India
Week rank: 841 Up62 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  
This week:0
All time:6,643
This week:777Up
For more information send a message to info at phpclasses dot org.