Fixes clocks failing to draw with "Encountered an error while rendering code block" (issues #1 and #2). The segments passed a class name with a space in it, which Obsidian rejects. Checked in Obsidian 1.15.1: clocks draw, and clicking a segment writes the count back into the note.