[SalesForce] How to escape a double quotation mark in VisualForce context

I am trying to process a string before displaying it in a visualforce page. What I need to do is remove any quotation marks in the text field before I use it to assemble a link path. The following code works – it removes any 'S' characters from the string. However when I substitute in a '"' which is what I want to remove, it is interpreted as ending the value argument and the page won't save. I thought I could escape it out with '\"' or '\\"' and I also tried '&quot' but none of those options worked.

        <td class="value">
            <apex:outputText value="{!SUBSTITUTE(Work_Order__c.Drawing_Path__c, 'S', '')}" />
        </td>

I know that I could do my processing at another step (either with a formula field or an apex trigger) but I was really hoping to do it here as I have other areas built around the string still having the quotes in it. Is there any way to solve this problem in the VisualForce page only?

Best Answer

This works in my developer org:

<apex:page standardController="Account">
    <apex:form>
        <apex:inputField value="{!Account.Name}" />
        <apex:outputText value="{!SUBSTITUTE(Account.Name,'\"','')}" />
    </apex:form>
</apex:page>

Apparently, syntax highlighting can't seem to figure it out, but it should compile just fine (press Enter in the demo page to see the resulting output).