Skip to main content

Editing An Old Post? Beware Missing "</li>" Tags!

I recently updated an old post, to add a link to a newly published post - and experienced panic.

Adding a link to an old post, Deleted / Locked Blogs Have Several Causes, I discovered an oddity which caused extreme heartburn for several hours. Maybe you have experienced this, also.

Editing my post, and adding a simple single sentence, with embedded link, at the end of the post, I refreshed the display (always test your changes - no matter how minor!), and watched as the paragraphing scrambled itself.

I added a single sentence to the end of an old post - and watched as paragraphs in the post became hopelessly scrambled.

See the missing "</li>" at the end of the first list element?

Look at how the list line spacing is screwy now.



<li><a href="#DMCA">DMCA Violation</a> looks for copyright and similar violations.

Just one missing tag. Long ago, I learned to always close every list element properly.

<li><a href="#DMCA">DMCA Violation</a> looks for copyright and similar violations.</li>

But my proper list syntax policy had apparently started after the post, in question, was published.

I spent the next 1/2 hour re paragraphing the post content, following the broken list - and re spacing the list itself.

And having saved my work, the list - and the paragraphs following the list - remained scrambled.


This is no good!




How can I hope to help people, using this post?



Observing that paragraphing above the broken list was fine, I looked at the list code, line by line.


Paragraphing above the list is OK!



Much to my relief, I found a missing "</li>" tag. Adding the missing tag, I re paragraphed the post content - and this time, my changes remained.


This is what I would want to see.




Even the list remains properly spaced, in post editor.



Be very careful, when editing lists, in post editor "HTML" mode. Lack of care can lead to unpleasant consequence.



When editing a #Blogger blog post, in HTML mode, be very careful to avoid dropping closing list element tags. One dropped tag affects formatting of list content after the missing tag - and paragraphing following the broken list, even with the list properly closed.

target="_blank"

Comments

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?".

Add A Custom Redirect, If You Change A Post URL

When you rename a blog, the most that you can do, to keep the old URL useful, is to setup a stub post , with a clickable link to the new URL. Yo! The blog is now at xxxxxxx.blogspot.com!! Blogger forbids gateway blogs, and similar blog to blog redirections . When you rename a post, you can setup a custom redirect - and automatically redirect your readers to the post, under its new URL. You should take advantage of this option, if you change a post URL.

Adding A Link To Your Blog Post

Occasionally, you see a very odd, cryptic complaint I just added a link in my blog, but the link vanished! No, it wasn't your imagination.