diff --git a/php/libraries/LorisForm.class.inc b/php/libraries/LorisForm.class.inc index 8a3211d37e8..d586738c036 100644 --- a/php/libraries/LorisForm.class.inc +++ b/php/libraries/LorisForm.class.inc @@ -1607,13 +1607,13 @@ class LorisForm } /// XXX: There seems to be a problem when using   to separate the // checkbox from the label. Both Firefox and Chrome will still put a - // linebreak between the space and the checkbox. Instead, we wrap use + // linebreak between the space and the checkbox. Instead, we use // CSS to wrap the tag which avoids the label from being separated from the // checkbox. We don't wrap the whole label in it because if it's a long // label it's still allowed to have linebreaks. - return "" + return "" + . "" . " $el[label]"; }