Page 1 of 1

probs validating with XHTML <br> and <img> from

Posted: Tue Dec 11, 2007 12:34 pm
by AdRock
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

I have the guestbook working fine but i have come across a minor problem and i can't see anywhere in the code to sort this out

When i try validating my pages, i get loads of warnings that break tags and image tags aren't properly ended. I am using XHTML strict and the <br> and <img> tags are all missing the trailing / when the user submits their post.

Where in the code do i change so that breaks and images are ended properly?

Posted: Tue Dec 11, 2007 6:54 pm
by Klemen
Have you upgraded to 1.5 from a previous version of GBook? If yes you will need to manually change inside your entries.txt file:

- <br> to <br /> (use Notepad replace option)
- <img ...> to <img ... />