Ok, so now that it’s done, @optimus, you’ll need to write a plugin ![]()
Something like (not tested)
Discourse.Dialect.addPreProcessor(function(text) {
return text.replace(/your-regexp/g, "your replacement");
});
Ok, so now that it’s done, @optimus, you’ll need to write a plugin ![]()
Something like (not tested)
Discourse.Dialect.addPreProcessor(function(text) {
return text.replace(/your-regexp/g, "your replacement");
});