From da5224e3e289e41b1e44c9cace604677baec3fa1 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Wed, 9 Mar 2016 22:05:06 +0200 Subject: [PATCH] add accidentally missed changes --- lib/components/Method/method.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/components/Method/method.js b/lib/components/Method/method.js index 3fc287cb..89757c5f 100644 --- a/lib/components/Method/method.js +++ b/lib/components/Method/method.js @@ -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); } } diff --git a/package.json b/package.json index 589bd2ab..a20844cc 100644 --- a/package.json +++ b/package.json @@ -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"