GenericHighlighter: Fix parsing of HTML/PHP definition file

Change-Id: I54e43e0e0d5c55fee51ff001dfb92b1b8eb47d30
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: David Schulz <david.schulz@digia.com>