otro más
This commit is contained in:
@ -101,6 +101,8 @@ public class TelegramBot extends TelegramLongPollingBot {
|
|||||||
if (!titles.isEmpty()) {
|
if (!titles.isEmpty()) {
|
||||||
mensaje.append("🔹 **").append(keyword).append("**:\n");
|
mensaje.append("🔹 **").append(keyword).append("**:\n");
|
||||||
for (String title : titles) {
|
for (String title : titles) {
|
||||||
|
title = title.replaceAll("([_*\\[\\]()~`>#+\\-=|{}.!])", "\\\\$1");
|
||||||
|
|
||||||
mensaje.append(" 🔹🔹 ").append(title).append("\n");
|
mensaje.append(" 🔹🔹 ").append(title).append("\n");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user