The diffs can be reproduced with this script:
cat <<EOF > /tmp/wt : a :: b :* c ::: FOO EOF php bin/parse.php < /tmp/wt > /tmp/old.html sed 's/FOO/d/g;' < /tmp/old.html > /tmp/new.html php bin/parse.php --oldtextfile /tmp/wt --html2wt --selser --oldhtmlfile /tmp/old.html< /tmp/new.html > /tmp/wt.new diff /tmp/wt /tmp/wt.new
- This diff is only possible with v0.13.0-a13 and later which is when we introduced span wrapping around text nodes in list items.
- The diff goes away if the :* on the 3rd line becomes a ::.
- The diff goes away if the leading : a is removed
- The diff goes away if the leading : a\n:: b is changed to : a