Skip to content

Commit

Permalink
SAK-50349 SAMIGO Error when print PDF Report if the feedback contains…
Browse files Browse the repository at this point in the history
… global variables: Unknown character : '@' (or 64) (sakaiproject#12774)
  • Loading branch information
jesusmmp authored Aug 6, 2024
1 parent 350da61 commit de5d287
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ private Paragraph createLatexParagraph(String text) {
while (latexInitIndex != -1 && latexFinalIndex != -1) {
String textBeforeLatex = text.substring(0, latexInitIndex);
String latex = text.substring(latexInitIndex + 2, latexFinalIndex).replace(searchIndex[currentSearch], "").replace(finalSearchIndex[currentSearch], "");
latex = latex.replace("@", "\\text{at}");
TeXFormula formula = new TeXFormula(latex);
Image pdfLatexImage = null;
try {
Expand Down

0 comments on commit de5d287

Please sign in to comment.