diff --git a/inst/private/get_methods_texinfo.m b/inst/private/get_methods_texinfo.m index a59e129..62ca254 100644 --- a/inst/private/get_methods_texinfo.m +++ b/inst/private/get_methods_texinfo.m @@ -64,8 +64,8 @@ text = "\n"; for i = 1:numel (nl_idx) txt_line = helptext([begidx:nl_idx(i)]); - txt_line(strfind (txt_line, "#")) = []; txt_line = strtrim (txt_line); + txt_line(strfind (txt_line, "#")) = []; begidx = nl_idx(i) + 1; text = sprintf ("%s%s\n", text, txt_line); endfor