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: 380 All time: 6,368 This week: 828Up
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
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:380
This week:0
All time:6,368
This week:828Up