Won't fix Remove empty class attribute

Quy Ton

Member
Affected version
2.1.0
If class="" serves no purpose, remove it?

Code:
<a href="{{ link('threads' . (($thread.isUnread() AND !$forceRead) ? '/unread' : ''), $thread) }}" class="" data-tp-primary="on" data-xf-init="{{ $canPreview ? 'preview-tooltip' : '' }}" data-preview-url="{{ $canPreview ? link('threads/preview', $thread) : '' }}">{$thread.title}</a>
 
I don't think we'd necessarily consider this to be a bug, and at this point removal of it may affect existing styles and template modifications so we'd probably just leave it.
 
Back
Top Bottom