[build] 4.8.4

fix/351
qingwei.li 6 years ago
parent 1a945d445a
commit f84242d380
  1. 2
      docs/_coverpage.md
  2. 17
      lib/docsify.js
  3. 2
      lib/docsify.min.js
  4. 2
      lib/themes/buble.css
  5. 2
      lib/themes/dark.css
  6. 2
      lib/themes/pure.css
  7. 2
      lib/themes/vue.css
  8. 2
      packages/docsify-server-renderer/package-lock.json
  9. 2
      packages/docsify-server-renderer/package.json

@ -1,6 +1,6 @@
![logo](_media/icon.svg)
# docsify <small>4.8.3</small>
# docsify <small>4.8.4</small>
> A magical documentation site generator.

@ -3595,8 +3595,6 @@ Compiler.prototype._initRenderer = function _initRenderer () {
result = helper('tip', text);
} else if (/^\?&gt;/.test(text)) {
result = helper('warn', text);
} else if (/^</.test(text)) {
return text
} else {
result = "<p>" + text + "</p>";
}
@ -4320,7 +4318,7 @@ function renderMixin(proto) {
var m = html
.trim()
.match('<img.*?data-origin="(.*?)"[^a]+alt="(.*?)">([^<]*?)$');
.match('<p><img.*?data-origin="(.*?)"[^a]+alt="(.*?)">([^<]*?)</p>$');
if (m) {
if (m[2] === 'color') {
@ -4339,17 +4337,6 @@ function renderMixin(proto) {
html = html.replace(m[0], '');
}
// XXX: A Workaround
html = html
.split('\n')
.map(function (part) {
if (/^<a/.test(part)) {
return part.replace('<a', '<a data-button')
}
return part
})
.join('\n');
this._renderTo('.cover-main', html);
sticky();
};
@ -5060,7 +5047,7 @@ initGlobalAPI();
/**
* Version
*/
Docsify.version = '4.8.3';
Docsify.version = '4.8.4';
/**
* Run Docsify

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -37,5 +37,5 @@
"integrity": "sha1-6DWIAbhrg7F1YNTjw4LXrvIQCUQ="
}
},
"version": "4.8.3"
"version": "4.8.4"
}

@ -1,6 +1,6 @@
{
"name": "docsify-server-renderer",
"version": "4.8.3",
"version": "4.8.4",
"description": "docsify server renderer",
"author": {
"name": "qingwei-li",

Loading…
Cancel
Save