Skip to content

Commit

Permalink
Update MarkupUtil.java
Browse files Browse the repository at this point in the history
  • Loading branch information
xdnw committed Aug 5, 2024
1 parent a02ddd5 commit 7a38150
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/main/java/link/locutus/discord/util/MarkupUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -377,15 +377,6 @@ public static String markdownToHTML(String source) {
html = transformURLIntoLinks(html);
}
return html.replaceAll("\n", "");
//
// source = source.replace("_", "\u200B\t").replace(" * ", "\u200B\r");
// source = source.replaceAll("```", "`");
// TextProcessor processor = BBProcessorFactory.getInstance()
// .createFromResource(ConfigurationFactory.MARKDOWN_CONFIGURATION_FILE);
// source = processor.process(source);
// source = source.replace("\n", "<br>").replace("\u200B\r", " * ").replace("\u200B\t", "_");
// source = transformURLIntoLinks(source);
// return source;
}

public static String htmlToBBCode(String source) {
Expand Down

0 comments on commit 7a38150

Please sign in to comment.