Skip to content

Commit

Permalink
Hashtags getting backslashes now
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasKappa committed Nov 16, 2019
1 parent a824e01 commit e70bbf7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/FFC/ffc.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ function checkForTokenWithDifferentMeaningInLaTeX(swapDollar, label) {
res = res.concat('$\\mid$');
} else if (l == '-') {
res = res.concat('$\\relbar$');
} else if (l == '#') {
res = res.concat('\\#');
} else {
res = res.concat(l);
}
Expand All @@ -201,6 +203,8 @@ function checkForTokenWithDifferentMeaningInLaTeX(swapDollar, label) {
return '$\\mid$';
} else if (label == '-') {
return '$\\relbar$';
} else if (label == '#') {
return '\\#';
} else {
return label;
}
Expand Down

0 comments on commit e70bbf7

Please sign in to comment.