Skip to content

Commit 9f7e8e6

Browse files
authored
Book detail - stop escaping already escaped title/summary (#305)
1 parent e5e8c6b commit 9f7e8e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

views/book_detail.pug

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
extends layout
22

33
block content
4-
h1 Title: #{book.title}
4+
h1 Title: !{book.title}
55

66
p #[strong Author: ]
77
a(href=book.author.url) #{book.author.name}
8-
p #[strong Summary:] #{book.summary}
8+
p #[strong Summary:] !{book.summary}
99
p #[strong ISBN:] #{book.isbn}
1010
p #[strong Genre: ]
1111
each val, index in book.genre

0 commit comments

Comments
 (0)