Skip to content

Commit

Permalink
エスケープせずにDescriptionを出力、Update info-card.pug (#11108)
Browse files Browse the repository at this point in the history
HTMLのタグがエスケープされ、
misskey-hub.netのサーバー一覧で、iframeで読み込む際にタグがそのまま出力される状況が発生していた。
pugにおける仕様に則り、!=に変更、エスケープを行わないように。
  • Loading branch information
EdamAme-x authored Jul 6, 2023
1 parent 6b2c92c commit d2f8ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/server/web/views/info-card.pug
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ html
header#banner(style=`background-image: url(${meta.bannerUrl})`)
div#title= meta.name || host
div#content
div#description= meta.description
div#description!= meta.description

0 comments on commit d2f8ed9

Please sign in to comment.