If you use the
\ character with in-line text, e.g.
\+ it will be converted to
+ which is probably not what you desired. While Discourse tries to be intelligent abut converting pasted text to HTML, it also uses Markdown and Markdown uses
\ as an escape character.
Example of doing it wrong, = and +.
For in-line code just bookend the text with `, e.g. `\=` or `\+` which appears as
just double up on the \, e.g. pasting \\= or \\+ appears as \= or \+.
However if you have several lines of of code, bookend the code section with
``` and the code section will be converted by the source code converter for Prolog which leaves the
A \= b. \+ true.
As a follow-up I added a post to the discussion at Meta Discourse asking that this be fixed for Discourse.