
Originally Posted by
Schmoopy
There's an error on one of the lines. It's ended prematurely because of an apostrophe.
Error: missing } after property list
Source File:
http://www.africadreamholidays.com/script_test.htm
Line: 305, Column: 104
Source Code:
{href: 'http://reservations.bookhostels.com/tours/africadr/tourdetails.php?TourUID=7338', text: 'Fellah's Tent (Jolie Ville Luxor). - Luxor, Egypt'},
Try:
Code:
{href: 'http://reservations.bookhostels.com/tours/africadr/tourdetails.php?TourUID=7338', text: 'Fellah\'s Tent (Jolie Ville Luxor). - Luxor, Egypt'},
That's correct, but there are also a few more like that:
Code:
'Baz Bus Cape Town <=> Jo'burg VIA SWAZILAND. - Cape Town, South Africa'},
'Baz Bus Cape Town <=>Jo'burg VIA DRAKENSERG. - Cape Town, South Africa'},
'Baz Bus Cape Town <=> Jo'burg VIA SWAZILAND. - Durban, South Africa'},
Which should be:
Code:
'Baz Bus Cape Town <=> Jo\'burg VIA SWAZILAND. - Cape Town, South Africa'},
'Baz Bus Cape Town <=>Jo\'burg VIA DRAKENSERG. - Cape Town, South Africa'},
'Baz Bus Cape Town <=> Jo\'burg VIA SWAZILAND. - Durban, South Africa'},
Basically, whenever you use a like delimiter within a string, it must be escaped with the down slash.
Bookmarks