1
0
Fork 0

fixed broken links on the Help screen

This commit is contained in:
sspanak 2024-09-11 17:02:50 +03:00 committed by Dimo Karaivanov
parent ed1ed176c9
commit 4137563fb1

View file

@ -151,6 +151,8 @@ static convertInlineTags(markdown) {
.replaceAll("_([^_]+)_", "<i>\$1</i>") .replaceAll("_([^_]+)_", "<i>\$1</i>")
.replaceAll("[*]{2}(.+?)[*]{2}", "<b>\$1</b>") .replaceAll("[*]{2}(.+?)[*]{2}", "<b>\$1</b>")
.replaceAll("\\[([^]]+)\\]\\(([^)]+)\\)", "<a href=\"\$2\">\$1</a>") .replaceAll("\\[([^]]+)\\]\\(([^)]+)\\)", "<a href=\"\$2\">\$1</a>")
.replaceAll("href=\"([^\"]+)-\"", "href=\"\$1\"")
.replaceAll("href=\"([^\"]+?)--([^\"]+?)\"", "href=\"\$1-\$2\"")
} }