Posted by munga on July 23, 2007 at 12:38pm
Jump to:
| Project: | HTML2Book |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
the reg ex on this line:
$items = preg_split('/<h(.*)>/U', $node->body, -1, PREG_SPLIT_DELIM_CAPTURE );should be <h(\d*)> to avoid problems with xml documents containing tags like<header>.
Comments
#1
That change completely broke the processing of the pages, so I won't be committing it.