I've setup this module to send Anonymous Users to a front page using "Full" mode and "Full HTML filter"

Pasted in the HTML source code from http://pagelever.com/betasignup.html (this page loads just fine)

But then I try to load it in another browser, and the source is completely scrambled (see it right now: http://pagelever.com/)

Scrambled HTML source pasted below:
---------------------------------------------------

<p>
</p><p></p>
<p>  </p><br /><title>Facebook Analytics Tools - Better Facebook Insights for your Fan page | PageLever<br /></title><br /><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="shortcut icon" href="/favicon.ico" /><meta name="csrf-param" content="authenticity_token" /><br /><meta name="csrf-token" content="GWtpXoHJ+IszDxwcFX40vfAEotjxGGdHMbmGRUUadpU=" /><link href="http://pagelever-prod.heroku.com/stylesheets/dashboard_base.css?1301702533" media="screen" rel="stylesheet" type="text/css" /><link href="http://pagelever-prod.heroku.com/stylesheets/dashboard_override.css?1301702533" media="screen" rel="stylesheet" type="text/css" /><style type="text/css">
<!--/*--><![CDATA[/* ><!--*/
 
    .sf-sub-indicator {
    	behavior: url(css/iepngfix.htc)
    }
    ;
    
/*--><!]]>*/
</style><script src="http://pagelever-prod.heroku.com/javascripts/prototype.js?1301702533" type="text/javascript"></script><script src="http://pagelever-prod.heroku.com/javascripts/effects.js?1301702533" type="text/javascript"></script><script src="http://pagelever-prod.heroku.com/javascripts/dragdrop.js?1301702533" type="text/javascript"></script><script src="http://pagelever-prod.heroku.com/javascripts/controls.js?1301702533" type="text/javascript"></script><script src="http://pagelever-prod.heroku.com/javascripts/application.js?1301702533" type="text/javascript"></script><link rel="stylesheet" href="http://launchrock.com/api/lr.api.0.2.css" /><script src="http://launchrock.com/api/lr.api.0.2.js"></script><script type="text/javascript" charset="utf-8">
<!--//--><![CDATA[// ><!--
 
      $(document).ajaxSend(function(e, xhr, options) {
        var token = $("meta[name='csrf-token']").attr("content");
        xhr.setRequestHeader("X-CSRF-Token", token);
      });
    
//--><!]]>
</script><!--Google Analytics Asynchronous Javascript hook--><script type="text/javascript">
<!--//--><![CDATA[// ><!--


  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-17713149-1']);
  _gaq.push(['_setDomainName', '.pagelever.com']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();


//--><!]]>
</script><!--Clicky Realtime Analytics Asynchronous Javascript hook--><script type="text/javascript">
<!--//--><![CDATA[// ><!--

var clicky_site_id = 66406491;
(function() {
  var s = document.createElement('script');
  s.type = 'text/javascript';
  s.async = true;
  s.src = '//static.getclicky.com/js';
  ( document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0] ).appendChild( s );
})();

//--><!]]>
</script><noscript><p><img alt="Clicky" width="1" height="1" src="//in.getclicky.com/66406491ns.gif" /></p></noscript> 
    	
   
   
 
    <div id="all_content" style="width:460px"> 
      <div class="wrapper" style="width:460px"> 
        <div id="top"> 
          <a href="/dashboard"><h1>PageLever</h1></a> 
        
      		
        </div> 
        
        <div id="content">      		
          <div class="whitecontent">    
            <div style="padding:20px"> 
              <center><div id="lr_container"></div></center> 
            </div>  
            
            <div class="clear"></div> 
          </div> 
        </div> 
        
      </div> 
    </div> 
    
    <script type="text/javascript">
<!--//--><![CDATA[// ><!--
 
        //var _bugHerdAPIKey = '1753956d-0af8-42d7-bace-9737aca37cc5';
        //(function (d, t) {
        //    var bh = d.createElement(t), s = d.getElementsByTagName(t)[0];
        //    bh.type = 'text/javascript';
        //    bh.src = "//www.bugherd.com/bugherd.js?s=" + (new Date()).getTime();
        //    s.parentNode.insertBefore(bh, s);
        //})(document, 'script');
    
//--><!]]>

</script><script>
<!--//--><![CDATA[// ><!--
 
    $(document).ready(function(){
        LR.lrInstance = new LrInstance('lr_container',{
 
            tagLine: "We provide detailed analytics for your Facebook page. <br><br>Like adding steroids to Facebook Insights.",
            description: "Currently, our beta testers have more than 40 Million Fans.<br /><br />They use PageLever's analytics to help them get:<br />-More fans<br />-More traffic<br />-More comments<br />-More newsfeed impressions<br /><br /><b>Want to know more? Sign up for our beta.",
            refCodeUrl: "http://pagelever.com/?ref=",
            lrDomain: "pagelever.com",
            apiKey: "944d24dedddb9e838cccca18a1d83021",
            inviteList: "Currently in private beta. Enter your email to join our invite list:"
        });        
 
        // Handles events related to signup form, form validations
        // and submitting the form to the server:
        LR.signupForm = new SignupForm({
            secondaryPostLocation: ""
        });
 
 
        // Handles rendering the post submit content:
        LR.postSubmit = new PostSignupForm('pagesubmit',{
            twitterHandle: "pagelever",
            twitterMessage: "Can't wait to measure my Facebook page using @PageLever! You should signup for the private beta #launch",
            newUserHeaderText: "Awesome!",
            newUserParagraphText: "We're letting in a small batch of users every week, and we're prioritizing invites based on who has invited the most friends. <br /><br />The more of your friends who sign up, the sooner you'll get in...<br /><br />To share with your friends, click 'Recommend', 'Tweet' and 'Invite by Email':",
            newUserParagraphText3: "Or use this referral link so we know you sent them:",
            returningUserHeaderText: "Welcome Back!",
            returningUserParagraphText: "We're letting in a small batch of users every week, and we're prioritizing invites based on who has invited the most friends. <br /><br />The more of your friends who sign up, the sooner you'll get in...<br /><br />To share with your friends, click 'Recommend', 'Tweet' and 'Invite by Email':",
            returningUserParagraphText3: "Or use this referral link so we know you sent them:",
            statsPreText: "Your live stats: ",
            footerLinks: "<a href='http://twitter.com/pagelever'>Follow Us on Twitter | <a href='http://facebook.com/pagelever'>Like Us on Facebook"
    ,showDescription: true,
    showTagLine: true,
    showHeaderText: true,
    showParagraphText: true,
    showStats: true,
    showShareButtons: true,
    showFooterLinks: true    });
 
 
    });
 
        
//--><!]]>
</script>

Comments

jeffwidman’s picture

Title: Using the "Full" mode but my HTML getting all scrambled » Using the "Full" mode but my HTML is getting all scrambled
jeffwidman’s picture

I have no modules turned on other than the modules that came with the Core & this Front Page module. My themes are default as well.

timhilliard’s picture

Status: Active » Needs review

Hi jeff, the page looks fine to me so maybe you have fixed it already but I suspect your problem lies with your input filters. You need to remember that the Ful HTML filter runs the following:

Line break filter
HTML Corrector

I suspect you will need to disable these from whatever filter you use for your html to render correctly.

I hope this helps,
Tim

jeffwidman’s picture

Hey Tim--I'd temporarily done a redirect so that's why it appeared fixed.

I didn't realize "Full HTML" still messed with it--I added a "Raw HTML" filter, and that cleared it up.

Thank you! I was starting to tear out my hair.

jeffwidman’s picture

Priority: Major » Minor
Status: Needs review » Fixed
timhilliard’s picture

Status: Fixed » Closed (fixed)

Excellent