mirror of
https://github.com/amehime/hexo-renderer-multi-markdown-it.git
synced 2026-04-05 13:09:04 +08:00
update
This commit is contained in:
@@ -82,7 +82,7 @@ module.exports = function (md, options) {
|
||||
}
|
||||
|
||||
if (append) {
|
||||
content += `${append}${line}</span><br>`;
|
||||
content += `${append}">${line}</span><br>`;
|
||||
} else {
|
||||
content += `${line}<br>`;
|
||||
}
|
||||
@@ -365,7 +365,8 @@ function getOptions(info) {
|
||||
mark = [];
|
||||
info = info.replace(rMark, (match, _mark) => {
|
||||
mark = _mark.split(',').reduce(
|
||||
(prev, cur) => lineRange(prev, cur, match[1]), mark);
|
||||
(prev, cur) => lineRange(prev, cur, false), mark);
|
||||
return '';
|
||||
})
|
||||
}
|
||||
|
||||
@@ -390,7 +391,6 @@ function getOptions(info) {
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
let caption = '';
|
||||
if (rCaptionUrlTitle.test(info)) {
|
||||
const match = info.match(rCaptionUrlTitle);
|
||||
|
||||
Reference in New Issue
Block a user