Home » Text » Text_Highlighter » Bug #4640
Output highlighted code as unordered list
Details
| Request #4640 | Output highlighted code as unordered list |
|---|---|
| Submitted | 2005-06-20 16:23 UTC |
| From | priplatv at netscape dot net |
| Assigned | stoyan |
| Status | Closed |
| Package | Text_Highlighter |
| PHP Version | 5.0.3 |
| OS | Win 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).