• Page 1 of 1
  • 1
Forum moderator: bigblog  
Force blog entries to close its HTML.
Eriko
Pokémon Master
Posts: 962
Reputation: 34

Message # 1 | 4:48 PM
The title says it all. The blog page is destroying my Template. :/ I need to force unclosed tags to close. Can anyone help?
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 2 | 4:52 PM
Eriko, can you use jQuery/JS to insert the closing tags? I'm sure you could write a query for it. smile I'll look into a solution and get back to you. There might already be existing jQuery plugins that will detect unclosed tags if you search Google?
Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
Eriko
Pokémon Master
Posts: 962
Reputation: 34

Message # 3 | 5:07 PM
Paradox, I don't think jQuery can do the trick. I might be wrong, though. I'll probably need a JS script. xD I just wanted to know if someone had already created a script or something. Can't really find a js solution on google (or maybe I'm not searching hard enough). All I see are PHP solutions.
Post edited by Eriko - Friday, 2014-09-05, 5:08 PM
Sunny
Posts: 9296
Reputation: 456

Message # 4 | 10:32 AM
Moved to Custom Solutions.
I'm not active on the forum anymore. Please contact other forum staff.
Paradox
Old Guard
Posts: 3284
Reputation: 145

Message # 5 | 3:27 PM
Eriko, I've done a little research and digging on the subject and unfortunately not even regex can help with what you're aiming to do. The best thing I can suggest is work out the number of divs which aren't closed and see if you can close them somewhere in the template HTML. Good luck. wink
Jack of all trades in development, design, strategy.
Working as a Support Engineer.
Been here for 13 years and counting.
  • Page 1 of 1
  • 1
Search: