This project has moved and is read-only. For the latest updates, please go here.

Modify HTML before sending to client

Topics: Developer Forum, Project Management Forum, User Forum
Apr 7, 2013 at 2:17 AM

I am trying to implement a solution where I want to change the image URL and CSS src before I send the HTML page back to client. I am doing this in C#.(Basically instead of pointing image url to server I want to point them to CDN)

I have almost implemented the solution but when I use load the HTML using Agility pack. I am seeing few weird things.
  1. It closes the form tag right way even though the HTML is properly formatted.
  2. Option tag within Select are also not rendered correctly.
Can any one please tell me if this is possible to do with agility pack?

Thanks in advance.