PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Text » Text_Highlighter » Bug #4640

Output highlighted code as unordered list

Details

Request #4640Output highlighted code as unordered list
Submitted2005-06-20 16:23 UTC
Frompriplatv at netscape dot net
Assignedstoyan
StatusClosed
PackageText_Highlighter
PHP Version5.0.3
OSWin XP but irrelevant
Roadmaps(Not assigned)

Comments

[2005-06-20 16:23 UTC] priplatv at netscape dot net

Description:
------------
Allow for an additional option to output highlighted code as an unordered list (e.g. HL_NUMBERS_UL).

The advantages are those from both actually supported methods (numbers and nonumbers):
- Output is entirely selectable easying copy/paste (same as with <ol>).
- Code lines are wrapped at the end of the displayable area (same as with <ol>).
- No confusing numbers in front, especially when continuing code is displayed later in the document (same as with <pre>) and due to the unsupported start= attribute of the <ol> element (XHTML).