[ticket/12530] Move style and class to parent <a>.

PHPBB3-12530
Merge pull request #3038 from prototech/ticket/12530

[ticket/12530] Move style and class to parent <a>.