10000 Fix quoting · python/docsbuild-scripts@d189df4 · GitHub
[go: up one dir, main page]

Skip to content

Commit d189df4

Browse files
committed
Fix quoting
1 parent 8d9964a commit d189df4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/switchers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131

3232
Object.entries(all_versions).forEach(function([version, title]) {
3333
if (version === major_minor) {
34-
buf.push('<option value="' + quote_attr(version) + '" selected="selected">' + release + '</option>');
34+
buf.push('<option value=' + quote_attr(version) + ' selected="selected">' + release + '</option>');
3535
} else {
36-
buf.push('<option value="' + quote_attr(version) + '">' + title + '</option>');
36+
buf.push('<option value=' + quote_attr(version) + '>' + title + '</option>');
3737
}
3838
});
3939

0 commit comments

Comments
 (0)
0