fix missing ids in list
wrap lines when no line numbers shown
unix-like line endings
use getContent() getter everywhere