Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.8.0

Request #12233 Feature Requests
Submitted: 2007-10-12 16:55 UTC
From: flippedup Assigned:
Status: Open Package: Text_Highlighter (version 0.7.0)
PHP Version: 5.2.4 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2007-10-12 16:55 UTC] flippedup (End Forward)
Description: ------------ This package is absolutely amazing but it lacks in details. I believe that the following configuration options should be allowed: 1.The ability to highlight a line from start to end by prepending the line with a specified character. It would wrap the resulting line with a span and class attribute. 2.The ability to change the default CSS class names that are used for highlighting. 3.The ability to specify whether or not URLs that are found should be linked with an <a href> tag.

Comments

 [2007-10-12 20:49 UTC] flippedup (End Forward)
I added a feature request that has already been processed by passing in a 'class_map' key with an array of corresponding CSS class names into the constructor options param. My apologies - Scratch number 2.
 [2009-04-22 15:39 UTC] mrtinus (martijn vd hulst)
bug as written in http://bugs.php.net/bug.php?id=47879 [2 Apr 3:51pm UTC] cory dot jacobsen at zu dot com Description: ------------ Some email addresses that are obviously wrong, pass the validation with FILTER_VALIDATE_EMAIL. You can not have a top level domain with one character only. Reproduce code: --------------- var_dump(filter_var("x@y.z", FILTER_VALIDATE_EMAIL)); Expected result: ---------------- bool(false) Actual result: -------------- string(5) "x@y.z" [2 Apr 9:07pm UTC] iliaa@php.net Actually you can if its an internal domain name. request for a email filter wich will also filter a non-internal domain name