summaryrefslogtreecommitdiffhomepage
path: root/parser/pageparser/pagelexer_shortcode.go
diff options
context:
space:
mode:
Diffstat (limited to 'parser/pageparser/pagelexer_shortcode.go')
-rw-r--r--parser/pageparser/pagelexer_shortcode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser/pageparser/pagelexer_shortcode.go b/parser/pageparser/pagelexer_shortcode.go
index 8238425bf..61ba43f2c 100644
--- a/parser/pageparser/pagelexer_shortcode.go
+++ b/parser/pageparser/pagelexer_shortcode.go
@@ -165,7 +165,7 @@ Loop:
openBacktickFound = true
l.ignore()
}
- case r == eof, r == '\n':
+ case r == eof:
return l.errorf("unterminated raw string in shortcode parameter-argument: '%s'", l.current())
}
}