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

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.

Embedded Comments And Main Page View

The option to display comments, embedded below the post, was made a blog option relatively recently. This was a long requested feature - and many bloggers added it to their blogs, as soon as the option was presented to us. Some blog owners like this feature so much, that they request it to be visible when the blog is opened, in main page view. I would like all comments, and the comment form, to be shown underneath the relevant post, automatically, for everyone to read without clicking on the number of comments link. And this is not how embedded comments work.

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