volkovku / RazorTemplates

Open source templating engine based on Microsoft's Razor parsing engine. Thread safe. Allows run Razor templates outside ASP.Net MVC Projects.
Microsoft Public License
99 stars 31 forks source link

Adding extra period (.) to some urls #4

Open darren128 opened 11 years ago

darren128 commented 11 years ago

After rendering the template with the model, I sometimes get extra periods in various url's on the page.

For instance:

http://sub.domain.com/

turns to:

http://sub..domain.com/

Which breaks img src's and href's.

darren128 commented 11 years ago

Is anyone planning on taking a look at this?

volkovku commented 11 years ago

Hi, Darren! I look at this, but can't reproduce you issue. But I make some changes for support Razor 2.0 today. Please try new version (1.1.1). If bug still reproduced please send template code and urls which produced incorrect result.

darren128 commented 11 years ago

Thanks, I'll check it out!