Skip to content
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

페이지가 아에 나타나지 않을때 (Error: [$parse:lexerr]) #319

Open
vulcan9 opened this issue Jan 12, 2024 · 0 comments
Open

페이지가 아에 나타나지 않을때 (Error: [$parse:lexerr]) #319

vulcan9 opened this issue Jan 12, 2024 · 0 comments
Labels
버그 알림 중요한 내용을 기록으로 남겨둡니다. 완료 (close)

Comments

@vulcan9
Copy link
Owner

vulcan9 commented Jan 12, 2024

디버깅 창에 다음 에러가 표시됨
image

에러 페이지 링크를 따라가보면

image

대충 AngularJS expressions 표현식에 에러가 있다는 말.

원인

출판된 page.html 내용을 보니 pdf 변환시 추출된 검색어들이 문제가 된거 같다.

image

노란색 네모 두 군데가 {{}} 중괄호 두개씩으로 감싸여져 있는데 이 부분을 텍스트가 아닌 angularJS 표현식으로 해석하고 있는듯 하다.

 angularJS 에서는 HTML 구문에 표현식을 추가할때 `{{표현식}}` 형식으로 중괄호 두개를 사용한다.

해결

중괄호 두개씩 있는 것을 하나로 바꾼다던지 해서 {{ ... }} 패턴에 걸리지 않도록 해주면 해결된다.

직지에서 검색 내용 편집창에서 추출된 내용을 편집하면 된다.

@vulcan9 vulcan9 added 알림 중요한 내용을 기록으로 남겨둡니다. 보류 해결되지 않거나 기간이 오래걸리거나 해결 과정에 다른 문제가 있어 처리할 수 없습니다. 버그 and removed 보류 해결되지 않거나 기간이 오래걸리거나 해결 과정에 다른 문제가 있어 처리할 수 없습니다. labels Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
버그 알림 중요한 내용을 기록으로 남겨둡니다. 완료 (close)
Projects
None yet
Development

No branches or pull requests

1 participant