IMDB script bug and an included fix

If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
Post Reply
donnyj
Posts: 1
Joined: 2007-09-24 07:23:22

IMDB script bug and an included fix

Post by donnyj »

Problems with HTML tags...

Example movie: Zodiac (2007/I)

Comments Section:
<snip>
THE GIST
<snip>
Fincher's best? No. But still very good
<snip>
Good, but not what you'd expect
<snip>
"This is the Zodiac speaking..."
<snip>
Not Your Average Serial Killer Movie (And That's a Good Thing)
<snip>
"Zodiac" &#150; A Favorable Sign

To fix, add:

Code: Select all

HTMLDecode(Value2);
Right after line #422:

Code: Select all

Value2 := Value2 + #13#10 + #13#10 + Trim(Value);
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Re: IMDB script bug and an included fix

Post by bad4u »

Thank you. I've added a HTMLRemove and HTMLDecode just before value2 is written to the comments' field. Script (version 3.21) will be available on http://update.antp.be/amc/scripts/ a.s.a.p.
Post Reply