https://bugzilla.wikimedia.org/show_bug.cgi?id=66514
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|[email protected] |[email protected] Summary|Magic word strings aren't |Magic word strings aren't |nowikid if they are |nowikid if the relevant DOM |surrounding by html or |node is not in a |html-like tags |start-of-line context --- Comment #4 from [email protected] --- [subbu@earth lib] echo "Fails when not in <b>sol context</b> __TOC__" | node parse --html2wt --trace wt-escape [wt-esc] | EWT: "Fails when not in " [wt-esc] | ---No-checks needed--- [wt-esc] | EWT: "sol context" [wt-esc] | ---No-checks needed--- [wt-esc] | EWT: " __TOC__" [wt-esc] | SOL: false " __TOC__" [wt-esc] | ---Not-SOL and safe--- Fails when not in '''sol context''' __TOC__ [subbu@earth lib] echo "Works when node is in sol context __TOC__" | node parse --html2wt --trace wt-escape [wt-esc] | EWT: "Works when node is in sol context __TOC__" [wt-esc] | SOL: true "Works when node is in sol context __TOC__" [wt-esc] | nl: true :text= "Works when node is in sol context __TOC__" [wt-esc] | T: "Works when node is in sol context " [wt-esc] | T: {"type":"SelfclosingTagTk","name":"behavior-switch","attribs":[{"k":"word","v":"__TOC__"}],"dataAttribs":{"tsr":[34,41],"src":"__TOC__"}} [wt-esc] | ---Found WT tokens--- Works when node is in sol context <nowiki>__TOC__</nowiki> -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
