Skip to content

Commit

Permalink
Update 17-markdown.md
Browse files Browse the repository at this point in the history
笔误
  • Loading branch information
0xfynnix authored Nov 16, 2017
1 parent 8d578ac commit bac50d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 17-markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ router.get('/posts/show', function (req, res, next) {
});
```

post的content内容已经被转换成html了,在show.ejs中要使用<%- %>,而不是<%= %><%- %>会内容当初html来显示
post的content内容已经被转换成html了,在show.ejs中要使用<%- %>,而不是<%= %><%- %>会把内容当成html来显示

```html
<div>
Expand Down

0 comments on commit bac50d4

Please sign in to comment.