Joker / jade

Jade.go - pug template engine for Go (golang)
BSD 3-Clause "New" or "Revised" License
354 stars 37 forks source link

escaping single quote in unesc causes problem #44

Open mizuhashiOzy opened 2 years ago

mizuhashiOzy commented 2 years ago

example:

!= '\''

the \ is persisted to the generated go file and go template which causes problem since ' doesn't need to be escaped in go string literals