jQuery and dynamically loaded, badly formed HTML

staceemvnorton

New Member
I am making a WebApp that dynamically loads news feeds (think a Pulse News WebApp) but I am having a problem that if an article has badly formed HTML (generally misplaced or missing end tags) it trashes my entire layout. So, my question is: is there a way for me to either economically "fix" the HTML or store it some way other than in a hidden element so that it won't "break" the rest of my code?Demo:
Fullscreen: http://jsfiddle.net/SO_AMK/4pFcm/embedded/result/
Normal: http://jsfiddle.net/SO_AMK/4pFcm/(Example problematic article highlighted, it has a missing \[code\]</i>\[/code\] tag)Please note that this is not the entire app but a static portion. The actual app generates all HTML.P.S. On a sidenote, does anybody have an idea as to why when you click on or next to the article byline (below the title) it scrolls the tiles of that feed?Any ideas?Thank you in advance.
 
Back
Top