Merge commit 'cfd728355e79e47641ea3d2f36b9c0682535af18' into releases

This commit is contained in:
RedocBot 2016-08-21 14:59:04 +00:00 committed by travis@localhost
commit ec183d3290
4 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@
</head>
<body>
<nav>
<header> <a href="/"> ReDoc </a> </header>
<header> <a href="/ReDoc"> ReDoc </a> </header>
<template is="dom-bind" id="specs">
<form id="schema-url-form" is="iron-form">
<vaadin-combo-box-light id="spec-input" items="[[specs]]" allow-custom-value>

View File

@ -4,7 +4,6 @@
Download OpenAPI (fka Swagger) specification:
<a class="openapi-button" target="_blank" attr.href='{{specUrl}}'> Download </a>
</p>
<p *ngIf="info.description" class="redoc-markdown-block" [innerHtml]="info['x-redoc-html-description'] | safe"> </p>
<p>
<!-- TODO: create separate components for contact and license ? -->
<span *ngIf="info.contact"> Contact:
@ -18,4 +17,5 @@
<span *ngIf="!info.license.url"> {{info.license.name}} </span>
</span>
</p>
<p *ngIf="info.description" class="redoc-markdown-block" [innerHtml]="info['x-redoc-html-description'] | safe"> </p>
</div>

View File

@ -5,7 +5,7 @@ declare var Prism: any;
const md = new Remarkable({
html: true,
linkify: true,
breaks: true,
breaks: false,
typographer: false,
highlight: (str, lang) => {
if (lang === 'json') lang = 'js';

View File

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