OG tag for name is not trimmed
Summary
When accessing a single resource, the OG tag og:title
contains too many spaces
Steps to reproduce
Access a single resource page
What is the current bug behavior?
For a Scope
resource named Tralala
, the OG tag look like :
<meta property="og:title" content="Scope - Tralala" />
What is the expected correct behavior?
<meta property="og:title" content="Scope - Tralala" />
Relevant logs and/or screenshots
https://gitlab.com/prod-manager/prod-manager/-/blob/master/ProdManager/templates/resource.html#L4-15
Environment info
0.9.0
- Google Chrome
Possible fixes
Edited by Guillaume MARTINEZ