Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 374 All time: 6,049 This week: 1,531Up
Version License PHP version Categories  
wbr-insertion 0.1GNU Free Documentation ...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: 32
All time rank: 3199219 in India India
Week rank: 1802 Up128 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:374All time:6,049
 This week:0This week:1,531Up