docs, append element, use pre instead of nbsp