Just a minor typo: using single-quotations instead of double-quotations so that line return "\n" becomes a literal '\n'. In any case, using the character PHP_EOL is safer as it's guaranteed to be safe across platforms (Windows, Macs, and Unix), without worrying about new-line characters ("\n") or return carriages ("\r").

Line 126 at the very end of the line:
'</span>\n';
should be
"</span>\n";
or better yet
'</span>' . PHP_EOL;

I can also wrap this in a patch too, but it's probably easier to commit to quick-fix.

Comments

JamesAn’s picture

Or better yet, just remove the line break. The label that wraps this element line-breaks write after its closing tag.

alex_b’s picture

Status: Active » Fixed

Fixed in head.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.