Skip to content

Commit

Permalink
get_methods_texinfo: fix removing leading space after ##
Browse files Browse the repository at this point in the history
  • Loading branch information
pr0m1th3as committed Jan 28, 2024
1 parent ae2ad63 commit c614a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/private/get_methods_texinfo.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c614a35

Please sign in to comment.