https://bugzilla.wikimedia.org/show_bug.cgi?id=71465
ssas...@wikimedia.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |Low Summary|Closing blockquote tag |DSR information from |being lost |stripped tag is lost when | |it is a direct child of | |<body> --- Comment #3 from ssas...@wikimedia.org --- $ echo ":<blockquote>\na\n:</blockquote>\nb" | node parse --rtTestMode true ... <dl data-parsoid='{"dsr":[0,13,0,0]}'><dd data-parsoid='{"dsr":[0,13,1,0]}'><blockquote data-parsoid='{"stx":"html","autoInsertedEnd":true,"dsr":[1,13,12,0]}'></blockquote></dd></dl> <p data-parsoid='{"dsr":[14,15,0,0]}'>a</p> <dl data-parsoid='{"dsr":[16,17,0,0]}'><dd data-parsoid='{"dsr":[16,17,1,0]}'></dd></dl><meta typeof="mw:Placeholder/StrippedTag" data-parsoid='{"src":"</blockquote>","name":"BLOCKQUOTE","dsr":[17,30,null,null]}'/> <p data-parsoid='{"dsr":[31,32,0,0]}'>b</p> ... So, the dsr info from the stripped tag is lost. Perhaps, we should wrap these stripped tags in a placeholder span so that it carries the dsr information in edit mode. In an editor, it will show up as an empty span (and not sure what the editing implications are for this solution). But for this editing issue that needs resolution, this should be a straightforward fix in the markTreeBuilderFixups pass. I am marking this low priority since this is not a big issue as far as I can tell. Feel free to bump up the priority if there are other scenarios where this might be a problem. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l