-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
typo Laravel 7.x Bladeテンプレート #10
Labels
変換プログラム対応
ドキュメントの問題ではないため、変換プログラムで対応
Comments
原文を確認してください。@@parentです。 |
歴史的に@1つになったり2つになったりしましたので、@1つでも使用できる可能性はあるでしょうが、現在のドキュメント上では2つが正解です。 |
原文はhttps://laravel.com/docs/7.x/blade#extending-a-layout かなと思い、こちらでは@が一つでしたので指摘させていただいたのですが、github上(https://github.com/laravel/docs/blob/7.x/blade.md) では@@parentですね。 |
ちなみに一応手元で試して@@parentでは正常に動作しないことは確認しております |
オリジナルは https://github.com/laravel/docs/blob/7.x/blade.md#extending-a-layout
です。
ご指摘のとおりであれば、Laravelの公式サイトの問題です。推測するにそれ自身がLaravelを利用して構築されており、シングルの@であるとblade構文として解釈されてしまうため、エスケープのために@@にしているのだと思います。機械的に@@を@へ変換することもできるのですが、それですと@@のエスケープの説明がおかしくなり、管理が面倒です。後で手段を考えます。
2020年6月30日(火) 12:49 CFLAT <[email protected]>:
… ちなみに一応手元で試して@@parent <https://github.com/parent>では正常に動作しないことは確認しております
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJO4TCRXEDVIOHRT5UH5BDRZFODTANCNFSM4OLS6MRQ>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://readouble.com/laravel/7.x/ja/blade.html#extending-a-layout
@@parent
は@parent
のタイポかと思います。The text was updated successfully, but these errors were encountered: