Skip to content

Commit

Permalink
Fix bug in table conversion
Browse files Browse the repository at this point in the history
Bug was found that replicated table
  • Loading branch information
toshiakit committed Apr 18, 2023
1 parent 4c988ca commit 4d6079f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/TextHelper.m
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
htmlTbl = htmlTbl + "</tbody>" + newline;
htmlTbl = htmlTbl + "</table>";
% replace markdown table with html table
newStr = replace(str,tblpat,htmlTbl);
newStr = replace(str,join(tblstr,newline),htmlTbl);
catch
% if error, return the original string
newStr = str;
Expand Down

0 comments on commit 4d6079f

Please sign in to comment.