tag:help-archives.hannonhill.com,2010-02-09:/discussions/how-do-i/16917-cascade-is-removing-tags-from-my-code-how-do-i-stop-it-from-doing-thatCascade CMS: Discussion 2015-04-08T14:39:06Ztag:help-archives.hannonhill.com,2010-02-09:Comment/363626132015-03-24T13:06:17Z2015-03-24T13:06:17ZCascade is removing tags from my code. How do I stop it from doing that?<div><p>Hi,</p>
<p>This tag should be valid as long as the contents of the Template
contains valid XML.</p>
<p>When you have a moment please provide the following so I can do
some additional testing on a local instance:</p>
<ul>
<li>What version of Cascade Server are you currently running?</li>
<li>Attach the contents of your Template to this discussion</li>
</ul>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/363626132015-03-24T20:34:42Z2015-03-25T14:24:55ZCascade is removing tags from my code. How do I stop it from doing that?<div><p>The Cascade server version is 7.12.2 - f65d7<br>
Here is the template that I'm trying to upload:</p>
<pre>
<code><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>NOBTS - <system-page-title /></title>
<link href="/_skin/css/all.css" media="all" rel="stylesheet" type="text/css" />
<link href='http://fonts.googleapis.com/css?family=Roboto+Condensed:400italic,700italic,700,400%7CRoboto:500,400italic,700italic,700,500italic,400%7CRoboto+Slab:300,700,400' rel='stylesheet' type='text/css'>
<script src="_skin/javascript/jquery-1.11.2.min.js"></script>
<script src="_skin/javascript/scroll-to.js"></script>
<script src="_skin/javascript/add-class.js"></script>
<script src="_skin/javascript/same-height.js"></script>
<script src="_skin/javascript/bg-stretch.js"></script>
<script src="_skin/javascript/slide-show.js"></script>
<script src="_skin/javascript/touch-nav.js"></script>
<script src="_skin/javascript/jquery-header-class.js"></script>
<script src="_skin/javascript/carousel.js"></script>
<script src="_skin/javascript/side-menu.js"></script>
<script src="_skin/javascript/jquery-placeholder.js"></script>
<script src="_skin/javascript/tabs.js"></script>
<!-- Google Analytics Code -->
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-40086797-1', 'nobts.edu');
ga('send', 'pageview');
</script>
<!-- End Google Analytics Code -->
<!-- Google Code for Remarketing Tag -->
<!--================================================
Remarketing tags may not be associated with personally identifiable information or placed on pages related to sensitive categories. See more information and instructions on how to setup the tag on: http://google.com/ads/remarketingsetup
=================================================-->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 1042204388;
var google_custom_params = window.google_tag_params;
var google_remarketing_only = true;
/* ]]> */
</script>
<script src="//www.googleadservices.com/pagead/conversion.js" type="text/javascript">
</script>
</head>
<body>
<noscript>
<div style="display:inline;"><img alt="" height="1" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/1042204388/?value=0&amp;guid=ON&amp;script=0" style="border-style:none;" width="1" /></div>
</noscript><!-- End Remarketing Tag -->
<div id="wrapper">
<div id="container">
<div id="headerBarContainer">
<div id="headerBar">
<system-region name="header" />
</div>
</div>
<main id="main" role="main">
<div class="breadcrumbs">
<div class="center-holder">
<ul>
<li><a href="#">home</a></li>
<li><a href="#">About</a></li>
<li>History</li>
</ul>
</div>
</div>
<div class="page-title">
<div class="center-holder">
<h2>about (section title H2)</h2>
</div>
</div>
<div class="main-section">
<div class="center-holder">
<aside class="aside">
<div class="side-nav">
<a href="#" class="side-opener">Additional Navigation</a>
<div class="slide">
<system-region name="side-nav" />
</div>
</div>
</aside>
<div id="content">
<system-region name="DEFAULT" />
</div>
</div>
</div>
</main>
<div id="footerBarColor">
<div id="footerBar">
<system-region name="footer" />
</div>
</div>
</div>
</div>
<!-- Google Analytics Code -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-6984389-1");
pageTracker._trackPageview();
} catch(err) {}
</script>
<!-- End Google Analytics Code -->
</body>
</html></code>
</pre></div>webadmintag:help-archives.hannonhill.com,2010-02-09:Comment/363626132015-03-25T14:04:41Z2015-03-25T14:04:41ZCascade is removing tags from my code. How do I stop it from doing that?<div><p>I seem to have messed up the formatting on that last post... can
I remove it?</p></div>webadmintag:help-archives.hannonhill.com,2010-02-09:Comment/363626132015-03-25T14:25:49Z2015-03-25T14:25:49ZCascade is removing tags from my code. How do I stop it from doing that?<div><p>Hi,</p>
<p>No worries, I went ahead and updated the comment to add code
formatting.</p>
<p>Let me go ahead and do some local testing and I will be in touch
as soon as I have additional information.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/363626132015-03-25T14:40:02Z2015-03-25T14:40:02ZCascade is removing tags from my code. How do I stop it from doing that?<div><p>Hi,</p>
<p>When you initially upload the Template content, you will notice
the tabbing will be changed. This generally indicates there is
something within the content the XML validation/cleanup routines do
not like.</p>
<p>Looking at the content a bit, I noticed the Google Web Font
<code><link></code> tag is not self-closing, so it is
technically left open. Because we do not currently support HTML5's
support for open tags, you will need to close it.</p>
<p>When you have a moment, try changing:</p>
<pre>
<code><link href="http://fonts.googleapis.com/css..." rel="stylesheet" type="text/css"></code>
</pre>
<p>To:</p>
<pre>
<code><link href="http://fonts.googleapis.com/css..." rel="stylesheet" type="text/css" /></code>
</pre>
<p>And that should fixe the issue.</p>
<p>Also, I wanted to note that you may run into un-secure content
warnings if you are loading those web fonts over SSL. I would
recommend changing that URL to
<code>//fonts.googleapis.com/css...</code> instead to make it
scheme-relative.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffith