Closed linakis closed 10 years ago
Thanks, I think proto.io actually has it right. Technically, labels can only have phrasing content as descendants (which includes span
but not div
). I can fix this easily enough.
hmm strange... I didin't spend much time on it, I just made it work and stayed there.
:+1: for the fix
The generated html from http://proto.io/freebies/onoff/ is providing the following snippet:
where the correct one (also mentioned in your README) is:
The difference is the
div
instead ofspan
inside thelabel
that prevented the plugin to properly figure out how to render itself.