saving html web resource ends up edited -- won't save what I'm pasting


  • Whether I paste it into the text editor source or load it from file, my html web resource changes upon saving.  I'd like to say it's just truncating, but it is smartly removing script elements and all of the stuff between the body tags.  Here's what remains from 9k of file:

    <html><head><script language="javascript" src="" type="text/javascript"></script><meta charset="utf-8"></head><body></body></html>

    Again, notice the closing body and html tags; i.e. the last character remains.

    What gives?

    Thursday, July 18, 2013 7:49 PM


All replies

  • I saw this behavior sometimes, probably is a bug in some rollup versions.
    However to be sure that your Web Resource doesn't get edited, instead paste the html code using the built-in editor you need to upload the file.

    My blog:

    Thursday, July 18, 2013 7:55 PM
  • Yes, I've decided the only way to keep it whole is to import, save and publish.  It appears that you absolutely cannot open the UI text editor on an html file.  I'll be deploying from Visual Studio henceforth.

    PS- this is Live/On-line so assumedly very current version.

    Friday, July 19, 2013 1:59 PM