mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vweb: fix compiling templates containing '
This commit is contained in:
parent
2f614ad79f
commit
d43722fa85
@ -65,7 +65,7 @@ _ = footer
|
||||
mut in_span := false
|
||||
//for _line in lines {
|
||||
for i := 0; i < lines.len; i ++ {
|
||||
line := lines[i].trim_space()
|
||||
line := lines[i].trim_space().replace("\'", '"')
|
||||
if line == '<style>' {
|
||||
state = .css
|
||||
} else if line == '</style>' {
|
||||
|
Loading…
Reference in New Issue
Block a user