#!/bin/sh

echo -n $0: 'Treat > in attribute value right... '

cat >test.html <<eof
foo<img alt=">" img="img" />bar
eof

cat >test.ref <<eof
foo>bar

eof

sh ./test/run test.html >test.data

if cmp test.ref test.data
then
  rm -f test.*
  echo passed
else
  echo failed
  exit 1
fi
