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

md内で {{ aaa bbb }} と書くとページが真っ白になる #99

Open
geckotang opened this issue Nov 19, 2020 · 1 comment
Open
Labels

Comments

@geckotang
Copy link
Member

geckotang commented Nov 19, 2020

バージョンは 0.5.15

mdファイル内で、 {{ your name }} のような記述があると、ページが真っ白になり次のエラーが出ていました。

image

Handlebarsの {{ }} と扱われてしまっているようです。

現象

現象1) 画面は表示されるが文字は描画されていない

次のように書いた場合、ページは表示されますが、 {{ aaa }} と書いた箇所には何も描画されず、あああとなっています。

{{ aaa }}あああ

バッククオートで囲っても同様に {{ aaa }} と書いた箇所には何も描画されません。HTMLを見ると <code>></code>あああ となっています。

`{{ aaa }}`あああ

現象2)画面が真っ白になりエラーが出ている

また、次のように、複数の単語を書いた場合、ページは真っ白になり、DevToolsのコンソールにエラー( "Missing helper: "aaaa""... )が表示されます。

{{ aaa bbb }}

いまのところの対応

{{ }} を書かない

@geckotang geckotang added the bug label Nov 19, 2020
@tomof
Copy link
Contributor

tomof commented Nov 19, 2020

メモ

対処法参考

https://stackoverflow.com/questions/52020784/escaping-curly-brackets-standing-next-to-expression-in-handlebars

現状の対処法

{{ }}を書かないか、3連バッククォートで囲むぐらいしか無さそう

試してダメだった方法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants