1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Remove old code

Experimental code, accidentally committed
This commit is contained in:
Jermolene 2015-08-10 22:20:40 +01:00
parent abcb2d3a1c
commit 74bd6e8232

View File

@ -151,11 +151,6 @@ Slicer.prototype.sliceTiddler = function(title) {
nodeType = domNode.nodeType;
if(nodeType === 1) {
var tagName = domNode.tagName.toLowerCase();
if(tagName === "p" && (domNode.getAttribute("style") || "").indexOf("mso-list:") !== -1) {
tagName = "li";
}
if(tagName === "h1" || tagName === "h2" || tagName === "h3" || tagName === "h4") {
if(!isBlank(text)) {
parentTitle = popParentStackUntil(tagName);