mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-01 23:54:37 +00:00
fixed hilights to pass test
This commit is contained in:
@@ -273,7 +273,7 @@ public class Highlighting implements Serializable {
|
||||
* @return Text with no highlights
|
||||
*/
|
||||
public static String stripHilights(String text) {
|
||||
text = text.replace("\r\n", "\n");
|
||||
//text = text.replace("\r\n", "\n");
|
||||
List<HilightToken> tokens = getHilightTokens(text);
|
||||
StringBuilder ret = new StringBuilder();
|
||||
for (HilightToken token : tokens) {
|
||||
|
||||
Reference in New Issue
Block a user