bugfix (multiple definitions appear on the same line)

Wrapped definitions in divs now instead of spans.

Change-Id: Ic8756e685ab8159b83caa165c6bd7f79c078c5fd