It seems that if I create a code block like the following,
template <typename T>
void f(T a, T b) {
std::string s = "result: ";
std::cout << s << a + b << '\n';
}
then publish, edit, publish, it escapes and reescapes the html in it after the edit. This is quite hideous.
template <typename T>
void f(T a, T b) {
std::string s = "result: ";
std::cout << s << a + b << '\n';
}
and it stacks, each time I edit, it gets worse
template &lt;typename T&gt;
void f(T a, T b) {
std::string s = &quot;result: &quot;;
std::cout &lt;&lt; s &lt;&lt; a + b &lt;&lt; '\n';
}
Pretty rough. I’ll have to find a way around this.