rawatsaurav01 commented on PR #180: URL: https://github.com/apache/pdfbox/pull/180#issuecomment-1951624412
@THausherr I have added and pushed the code ,but it is not showing maybe the pr is closed.Here is the updated code. private static void appendEscaped(StringBuilder builder, char character) { switch (character) { case '*': builder.append("\\" + character); break; case '+': builder.append("\\" + character); break; case '-': builder.append("\\" + character); break; case '#': builder.append("\\" + character); break; case 34: builder.append("\""); break; case 38: builder.append("&"); break; case 39: builder.append("\'"); break; case 60: builder.append("<"); break; case 62: builder.append(">"); break; case 178: builder.append("<sup>2</sup>"); break; case 179: builder.append("<sup>3</sup>"); break; default: builder.append(character); break; } } -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org