Fixes paper writing (#31203)

* Fixes regex typo

* Actually fixes it properly
This commit is contained in:
AnturK
2017-10-01 15:41:14 +02:00
committed by CitadelStationBot
parent 58ff06a44b
commit c4dd7ffdbd

View File

@@ -443,8 +443,8 @@ GLOBAL_LIST_INIT(binary, list("0","1"))
if(!limited)
t = replacetext(t, "((", "<font size=\"1\">")
t = replacetext(t, "))", "</font>")
t = replacetext(t, regex("^-{3,}$", "gm"), "<hr>")
t = replacetext(t, regex("^\\(-{3,})$", "gm"), "$1")
t = replacetext(t, regex("(-){3,}", "gm"), "<hr>")
t = replacetext(t, regex("^\\((-){3,}\\)$", "gm"), "$1")
// Parse lists