I'm trying to add suport for WebLayout and WebPreview views. The approach I'm using to do this is to detect when live writer is requesting the weblayout or webpreview, and then rendering the post page for a fake post - which as {post-title} as the title and {post-body} as the body.
The issue I'm facing is the post page has some logic to automatically add a link to a comments rss feed into the header for RSS auto discover. It includes the post title in the title of the RSS link, and having the {post-title} token in the rss header link causes Live Writer to display part of the raw html at the top of hte page - ="{post-title} Comments (RSS 2.0)" rel="alternate" type="application/rss+xml" href="/commentrss.ashx">
I have simplified my markup down to the following. Removing line 4 removes the issue, adding line 4 back causes the issue again..
<HTML lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<TITLE>{post-title} - Test</TITLE>
<LINK title="{post-title} Comments (RSS 2.0)" rel="alternate" type="application/rss+xml" href="/commentrss.ashx">
</HEAD>
<BODY>
<h1>{post-title}</h1>
<div>{post-body}</div>
</BODY>
</HTML>