Commit 4557a7bfe93e3b06fc8154b38538b6b926f8c512
about: put identifiers in quotes
Matt McKegg committed on 3/18/2017, 6:04:00 AMParent: eab27f622457908e54a6aae69afd87d09e3c52d5
Files changed
plugs/message/html/render/about.js | changed |
plugs/message/html/render/about.js | |||
---|---|---|---|
@@ -29,13 +29,13 @@ | |||
29 | 29 … | if (c.name) { | |
30 | 30 … | var target = api.profile.html.person(c.about, c.name) | |
31 | 31 … | content.push(computed([self, api.about.obs.name(c.about), c.name], (self, a, b) => { | |
32 | 32 … | if (self) { | |
33 | - return ['self identifies as ', target] | ||
33 … | + return ['self identifies as "', target, '"'] | ||
34 | 34 … | } else if (a === b) { | |
35 | 35 … | return ['identified ', api.profile.html.person(c.about)] | |
36 | 36 … | } else { | |
37 | - return ['identifies ', api.profile.html.person(c.about), ' as ', target] | ||
37 … | + return ['identifies ', api.profile.html.person(c.about), ' as "', target, '"'] | ||
38 | 38 … | } | |
39 | 39 … | })) | |
40 | 40 … | } | |
41 | 41 … |
Built with git-ssb-web