change inline lists to use spans

because browsers "fix" ol and ul elements by moving them out of a paragraph.