Switched to using codePoints in toHtmlEntities

This commit is contained in:
Erik C. Thauvin 2023-03-15 22:57:27 -07:00
parent 772ffd55f4
commit b3930804c6
3 changed files with 13 additions and 8 deletions

View file

@ -37,8 +37,8 @@ public class Rot13 implements ValueRenderer {
/**
* Translates a String to/from ROT13.
*
* @param src The source String.
* @return The translated String.
* @param src the source String.
* @return the translated String.
*/
public static String rot13(String src) {
if (src == null || src.isEmpty()) {