Open laanwj opened 2 years ago
While working on a Matrix bot that relies on the messages bridged with formatting included to IRC, we ran into the following issue: even after properly escaping HTML characters, messages with HTML-looking tags e.g. #include <test.h> were dropped.
#include <test.h>
I suspect the check here is too strict: https://github.com/matrix-org/matrix-appservice-irc/blob/develop/src/irc/formatting.ts#L173
While working on a Matrix bot that relies on the messages bridged with formatting included to IRC, we ran into the following issue: even after properly escaping HTML characters, messages with HTML-looking tags e.g.
#include <test.h>
were dropped.I suspect the check here is too strict: https://github.com/matrix-org/matrix-appservice-irc/blob/develop/src/irc/formatting.ts#L173