You may try something as shown below.
ViewModel
public class YourViewModel
{
public string YourLiteralContent {get;set;}
}
Controller's Action Method
public ActionResult YourPage()
{
return View(new YourViewModel {YourLiteralContent = YourOldLiteralContent});
}
View
<div>
Your Literal Control's content here:
@Model.YourLiteralContent
</div>
I hope this will help to you.Good Luck :)