add accidentally missed changes

This commit is contained in:
Roman Hotsiy 2016-03-09 22:05:06 +02:00
parent a496e907ea
commit da5224e3e2
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ export default class Method extends BaseComponent {
if (this.componentSchema.operationId) {
this.data.methodAnchor = 'operation/' + encodeURIComponent(this.componentSchema.operationId);
} else {
this.data.methodAnchor = 'tag/' + this.tag + this.pointer;
this.data.methodAnchor = 'tag/' + encodeURIComponent(this.tag + this.pointer);
}
}

View File

@ -1,7 +1,7 @@
{
"name": "redoc",
"description": "Swagger-generated API Reference Documentation",
"version": "0.6.4",
"version": "0.6.5",
"repository": {
"type": "git",
"url": "git://github.com/Rebilly/ReDoc"