8000 Detailed error messages won't be shown if line has no trailing line break · Issue #9 · athos/pogonos · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Detailed error messages won't be shown if line has no trailing line break #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
athos opened this issue Feb 20, 2022 · 0 comments · Fixed by #14
Closed

Detailed error messages won't be shown if line has no trailing line break #9

athos opened this issue Feb 20, 2022 · 0 comments · Fixed by #14
Labels
bug Something isn't working

Comments

@athos
Copy link
Owner
athos commented Feb 20, 2022
(pg/parse-string "{{#foo}}")
;; Execution error (ExceptionInfo) at pogonos.error/error (error.cljc:52).
;; Missing section-end tag {{/foo}}

This is in contrast to:

(pg/parse-string "{{#foo}}\n")
;; Execution error (ExceptionInfo) at pogonos.error/error (error.cljc:52).
;; Missing section-end tag {{/foo}} (1:9):
;;
;;   1| {{#foo}}
;;              ^^

Note that this will not happen except for the section-start tag:

(pg/parse-string "{{foo\n")
;; Execution error (ExceptionInfo) at pogonos.error/error (error.cljc:52).
;; Missing closing delimiter "}}" (1:6):
;;
;;   1| {{foo
;;           ^^

(pg/parse-string "{{/foo}}")
;; Execution error (ExceptionInfo) at pogonos.error/error (error.cljc:52).
;; Expected {{/.}} tag, but got {{/foo}} (1:1):
;;
;;   1| {{/foo}}
;;      ^^
@athos athos added the bug Something isn't working label Feb 20, 2022
athos added a commit that referenced this issue Apr 14, 2022
@athos athos closed this as completed in #14 Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Label 41A3 s
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant
0