WriteAttribute needs to take a params array and do some magic with it

Pretty sure I have it now, this method should work properly. The issue is people can put anything in an attribute like

    <a title="@prop abc def @prop2/@prop3">

So there needs a params array here. What I have written works for the use cases I could think of.

The code in ASP.NET MVC is much more complicated.