Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
The "custom search 1" block is outputting title and placeholder attributes even if these attributes are empty in the form.
<input title="" class="custom-search-box form-text" placeholder="" type="search" id="gcwu-srch" name="qt" value="" size="27" maxlength="150" data-role="none">
I created a patch to remove them when empty.
Comment | File | Size | Author |
---|---|---|---|
#1 | remove_empty_attributes-2303623-1.patch | 1.02 KB | ptsimard |
Comments
Comment #1
ptsimard CreditAttribution: ptsimard commentedThe patch
Comment #2
ptsimard CreditAttribution: ptsimard commentedComment #3
sylus CreditAttribution: sylus commentedCommitted and attributed!