1
n2oとrebar3でWebを書きたいと思っています。 しかし、私は何か間違ったページを取得し、コードはここにあります。erlang n2oレンダリング<スパンid = "
index.erl
prod.dtl
<html >
<head>
<title>{{title}}</title>
</head>
<body>
{{body}}
</body>
</html>
私は結果を得る:
<html >
<head>
<title></title>
</head>
<body>
<span id="display"></span><br/><span>Login: </span><input id="user" type="text" autofocus="true"/><br/><span>Join/Create Feed: </span><input id="pass" type="text"/><button id="loginButton" type="button">Login</button>
</body>
</html>
は、どのように私はいない '& LT' '<' ゲットすることができます
'{{body}}'を '{{body |安全な}} '' prod.etl'の仕事で? – Dogbert
どのバージョンのDTLを使用していますか? N2Oは0.8までサポートされています。新しいバージョンまであなたに。 – 5HT
@Dogbertそれは仕事です....ありがとう – hstcscolor