I have this smarty if statement:
{if $webpage.page_heading}
<h1>{$webpage.page_heading|replace:'\\':'<br />'}</h1>
{/if}`
But my IDE is complaining, it looks like this:

Is this just my IDE packing a spaz over the '\\' or is there an actual problem here?
I thought that having the double \ would escape the second backslash?
What we want to do is replace any \ with a <br />
The code works, the problem is in your IDE (it probably interprets it as
\')