I have a rather odd problem where I am looking for potentially missing
html tags due to truncation and need to close them.

I am displaying a short summaries for an overview of published
articles by showing a title and the first 30 words. Unfortunately
sometimes the article starts with an OL or UL and the closing tags get
truncated.

Is there a way to find missing closing tags within a div and close
them automatically? I don't need a final solution, any hint where to
start would be great, preferably client-side (jQuery) until I get it
sorted on the server-side....

Thanks

Reply via email to