Skip to main content

Odd Occurrences In The Blogger Template - "-->"

Recently, a couple bloggers have reported a mysterious glyph, in their blog page.
Please, I've been trying to remove the --> at the top of my blog forever. I can't find in the templates where this is coming from. If anyone can help me please respond. Its driving me crazy.



The mysterious glyph.


So, we look at the blog. Click on the picture (above), and view it full size, if you need.

Next, view "Page Source" in the browser. This shows the published blog page code, which will not be the same as the raw template! You won't see the mysterious "-->", when you edit the template - it's embedded in the template macro library code, but it's there, I promise you.

table.sample td {
border-width: medium medium medium medium;
padding: 1px 1px 1px 1px;
border-style: outset outset outset outset;
border-color: red red red red;
background-color: rgb(255, 245, 238);
-moz-border-radius: 6px 6px 6px 6px;
white-space:nowrap;
}
</style>

--></style>
<link type='text/css' rel='stylesheet' href='http://www.blogger.com/static/v1/widgets/2300090209-widget_css_bundle.css' /> <link rel="stylesheet" type="text/css" href="http://www.blogger.com/static/v1/v-css/3727950723-blog_controls.css"/>
<link rel="stylesheet" type="text/css" href="http://www.blogger.com/dyn-css/authorization.css?targetBlogID=7088093820350220800&zx=05ee26f6-7ace-4a89-936c-60d828d65f38"/>
<style type="text/css">#navbar-iframe { display:block }
</style>
</head>

When you edit the raw template HTML (Layout - "Edit HTML"), you'll see something like this.

table.sample td {
border-width: medium medium medium medium;
padding: 1px 1px 1px 1px;
border-style: outset outset outset outset;
border-color: red red red red;
background-color: rgb(255, 245, 238);
-moz-border-radius: 6px 6px 6px 6px;
white-space:nowrap;
}
</style>

]]></b:skin>
</head>

Remove the "</style>, giving you this.

table.sample td {
border-width: medium medium medium medium;
padding: 1px 1px 1px 1px;
border-style: outset outset outset outset;
border-color: red red red red;
background-color: rgb(255, 245, 238);
-moz-border-radius: 6px 6px 6px 6px;
white-space:nowrap;
}

]]></b:skin>
</head>

In the display "View" - "Page Source", you'll now see this.

table.sample td {
border-width: medium medium medium medium;
padding: 1px 1px 1px 1px;
border-style: outset outset outset outset;
border-color: red red red red;
background-color: rgb(255, 245, 238);
-moz-border-radius: 6px 6px 6px 6px;
white-space:nowrap;
}

--></style>
<link type='text/css' rel='stylesheet' href='http://www.blogger.com/static/v1/widgets/2300090209-widget_css_bundle.css' /> <link rel="stylesheet" type="text/css" href="http://www.blogger.com/static/v1/v-css/3727950723-blog_controls.css"/>
<link rel="stylesheet" type="text/css" href="http://www.blogger.com/dyn-css/authorization.css?targetBlogID=7088093820350220800&zx=05ee26f6-7ace-4a89-936c-60d828d65f38"/>
<style type="text/css">#navbar-iframe { display:block }
</style>

</head>

All better now. But why is this happening?

Comments

Emily said…
A 7-year-old post had the answer I'd been looking for. Woo! Felt like a treasure hunt. The end was totally worth it.

I had to stop by and give a formal "thank you," so thanks for this.

If your wondering, I found your post when someone linked to it from here: https://productforums.google.com/forum/#!topic/blogger/bTrqkQ0jc0k
Thank you for trying to help. Much obliged. But I hate to say we are talking about different thins. Like an apple and an orange. You see, the page view source cannot be edited. But that's the only place you can see it.

Please look at the right place. In page source the orphaned object (-->)is located at number 654, below the closing javascript closing tag.

Many people claimed they are buried in folders between ... and .... You need to appeal to Blogger Team to kindly open all the content in those folders, otherwise you won't see the offending objects.
Nitecruzr said…
Hi Freelance,

Thanks for your feedback!

We are talking about the same thing - it's just that finding the symptom ("-->") and the problem are separate.

You can only see the symptom on the blog, as displayed. The problem is buried in a macro library, which can't be opened. Only the blog owner can see the problem, by using the Template HTML editor - and the symptom can be seen only after the blog is published, and displayed.

Popular posts from this blog

What's The URL Of My Blog?

We see the plea for help, periodically I need the URL of my blog, so I can give it to my friends. Help! Who's buried in Grant's Tomb, after all? No Chuck, be polite. OK, OK. The title of this blog is "The Real Blogger Status", and the title of this post is "What's The URL Of My Blog?".

Where's The Dashboard?

We see this confusion, a couple times a week, in Blogger Help Forum: How Do I? . Where is the dashboard? In the Classic Blogger GUI, the display which contained the "Blog List" (at the top), and the "Reading List" (at the bottom) was labeled "Dashboard". Many people also called the "Settings" / "Template" screens for the various blogs, linked from the Blog List, the dashboard. The New Blogger GUI has no page with the label - and no links "To The Dashboard". The Navbar (another unlabeled feature) has two links - "Design" and "New Post" - which lead to different dashboard sections, when you are appropriately logged in to Blogger . And, the "B" logo at the far left of the navbar will, similarly, take you to the Blog List / Reading List.