Support » Plugins » [Plugin: W3 Total Cache] Show js code as text

  • Resolved jimaek

    (@jimaek)


    I have this code in a widget

    <center>
    <form>
    <textarea cols="3" rows="3" onclick="javascript:select()" style="width: 160px;height: 55px; font-family: monospace; font-size: 12px;" wrap="on" readonly="yes">
    <script type="text/javascript" src="http://www.domain.com/widgets/widget.js"></script>
    </textarea>
    </form>
    Preview:
    </center>
    
    <script type="text/javascript" src="http://www.domain.com/widgets/widget.js"></script>

    But after installing W3TC the text area shows
    %MINIFYHTML57c1edd750ef0e79b2b6b4c47250a7917%

    How to fix this?

    http://wordpress.org/extend/plugins/w3-total-cache/

Viewing 1 replies (of 1 total)
  • This issue still occurs with <script type="text/javascript" src="http://www.domain.com/widgets/widget.js"></script> omitted? Can you try URL encoding <script type="text/javascript" src="http://www.domain.com/widgets/widget.js"></script> instead in the text area? If not, you have to disable HTML minify or reduce your settings.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: W3 Total Cache] Show js code as text’ is closed to new replies.