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

Request #14480 Empty <span>s are generated
Submitted: 2008-08-09 11:36 UTC
From: sirzooro Assigned:
Status: Open Package: Text_Highlighter (version 0.7.1)
PHP Version: 5.2.6 OS: Windows
Roadmaps: (Not assigned)    
Subscription  


 [2008-08-09 11:36 UTC] sirzooro (Daniel Fruzynski)
Description: ------------ generation in Text Highlighter can be improved. Especially these things can be improved (at least for JavaScript): - extra empty s at end of comments; - new line sign is enclosed in too, while it is not needed; - '//' and comment text are in separate spans - can be put in one. Despite these issues page code still validates and looks properly, so I am logging this as enhancement in order to clean up this. Test script: --------------- $code = <<highlight($code); Expected result: ----------------
// comment
// comment
Actual result: --------------
// comment
// comment

Comments