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

set title to auto built page #1547

Merged
merged 2 commits into from
Aug 17, 2020
Merged

set title to auto built page #1547

merged 2 commits into from
Aug 17, 2020

Conversation

kmuto
Copy link
Owner

@kmuto kmuto commented Aug 17, 2020

#1545 の修正

普通のページはHTMLBuilderの働きで @title が入るのだけど、

  • WebMaker固有で作っているindex, titlepage, part(文字列のみしかない部)については@titleを定義していなかった。これにより、最初のindexのところでnilをエスケープしようとしてエラーになっていた。
  • HTMLBuilderが作る @titleはエスケープ済みだが、templates側でエスケープして二重になっていた

@kmuto kmuto merged commit e77b5f0 into master Aug 17, 2020
@kmuto kmuto deleted the webmaker-title branch August 17, 2020 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant