|
|
@ -242,11 +242,17 @@ rules.mark_close = function (/* tokens, idx, options, env */) { |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
rules.sub = function (tokens, idx /*, options, env */) { |
|
|
|
return '<sub>' + escapeHtml(tokens[idx].content) + '</sub>'; |
|
|
|
rules.sub_open = function (/*tokens, idx, options, env */) { |
|
|
|
return '<sub>'; |
|
|
|
}; |
|
|
|
rules.sup = function (tokens, idx /*, options, env */) { |
|
|
|
return '<sup>' + escapeHtml(tokens[idx].content) + '</sup>'; |
|
|
|
rules.sub_close = function (/*tokens, idx, options, env */) { |
|
|
|
return '</sub>'; |
|
|
|
}; |
|
|
|
rules.sup_open = function (/*tokens, idx, options, env */) { |
|
|
|
return '<sup>'; |
|
|
|
}; |
|
|
|
rules.sup_close = function (/*tokens, idx, options, env */) { |
|
|
|
return '</sup>'; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|