Fix to remove part class in list item or it will be included in buildMap process
This commit is contained in:
parent
f454994daa
commit
f1db5c96f3
1 changed files with 0 additions and 1 deletions
|
@ -28,7 +28,6 @@ md.renderer.rules.list_item_open = function (tokens, idx, options, env, self) {
|
||||||
if (tokens[idx].map) {
|
if (tokens[idx].map) {
|
||||||
var startline = tokens[idx].map[0] + 1;
|
var startline = tokens[idx].map[0] + 1;
|
||||||
var endline = tokens[idx].map[1];
|
var endline = tokens[idx].map[1];
|
||||||
tokens[idx].attrJoin('class', 'part');
|
|
||||||
tokens[idx].attrJoin('data-startline', startline);
|
tokens[idx].attrJoin('data-startline', startline);
|
||||||
tokens[idx].attrJoin('data-endline', endline);
|
tokens[idx].attrJoin('data-endline', endline);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue