如何防止 ruby on rails 创建 html 代码。如何让它只读取 .html.erb 文件中的代码。当我将代码放入 .html.erb 文件中时,代码会将自身置于正文中。
<!DOCTYPE html>
<html>
<head>
<title>Overcasty</title>
<link href="/assets/application.css?body=1" media="all" rel="stylesheet" type="text/css" />
<script src="/assets/jquery.js?body=1" type="text/javascript"></script>
<script src="/assets/application.js?body=1" type="text/javascript"></script>
<meta content="authenticity_token" name="csrf-param" />
<meta content="6TmCd0ZIQF0IP/iNnieQZ8IIPDQyZUe6jSBthuGfZDg=" name="csrf-token" />
</head>
<body>
</body>
</html>