added support for hr tag in pdf