Skip to content

Commit

Permalink
added support for <math>
Browse files Browse the repository at this point in the history
  • Loading branch information
javalc6 committed Jun 6, 2023
1 parent e9266e8 commit ba95bef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions wiki/tools/WikiScanner.java
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,12 @@ public String getStringParameter(int[] equalPos) {//returns parameter, if any
i = end + 7;//go after tag "</code>"
continue;
}
} else if (str.startsWith("<math>", i)) {
int end = str.indexOf("</math>", i + 6);
if (end != -1) {
i = end + 7;//go after tag "</math>"
continue;
}
}
break;
case '|':
Expand Down

0 comments on commit ba95bef

Please sign in to comment.